[PD] Browse/Search plugin update

Hans-Christoph Steiner hans at at.or.at
Fri Nov 30 20:03:04 CET 2012


On Nov 30, 2012, at 3:27 AM, Jonathan Wilkes wrote:

> Here's an update:
> 
> http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/scripts/guiplugins/search-plugin/
> 
> * fixes the color weirdness on OSX
> * sets some minimum height/width for the window
> * adds the "filesystem" keyword to Keyword Search
> * hard-coded normal font color to black
> 
> ... plus the static navigation bar above the results
> 
> Stuff I don't understand:
> * grid weight, esp. when frames are involved. i just played with it
> until it got beat into submission
> * what tcl is caching that makes all subsequent searches faster than
> the initial one. no clue.

I doubt that's Tcl doing the caching, but very likely to be the OS doing it.  Most OSes these days use spare RAM to cache disk reads.  My guess is that is what's happening here.  I think using xapian is really the best way to solve this issue.  I think we should be able to include pre-built xapian indexes in Pd-extended, and in each library.  Then everything would be loaded at start time.  It would not need to do much indexing at start time since almost everything would already be indexed.  Also, it could save the indexes it generates, and only regenerate them when files change.


> ... after using it a bit I instinctively clicked <alt-left-arrow> to go back,
> so I guess that's my hand telling me it needs some kind of history.
> (Though it does have a drop-down list of your search terms for that
> instance of Pd if you click the down-arrow.)

Yeah, well said, that's often how I know certain things need to be done.

.hc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121130/17f874a1/attachment.htm>


More information about the Pd-list mailing list