<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 30, 2012, at 3:27 AM, Jonathan Wilkes wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: arial, helvetica, sans-serif; font-size: 12pt; position: static; z-index: auto; "><div>Here's an update:</div><div><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span><a href="http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/scripts/guiplugins/search-plugin/">http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/scripts/guiplugins/search-plugin/</a></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>* fixes the color weirdness on OSX</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>* sets some minimum
 height/width for the window</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>* adds the "filesystem" keyword to Keyword Search</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>* hard-coded normal font color to black</span></div><br><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">... plus the static navigation bar above the results<br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent;
 font-style: normal;"><span>Stuff I don't understand:</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>* grid weight, esp. when frames are involved. i just played with it</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>until it got beat into submission</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>* what tcl is caching that makes all subsequent searches faster than</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>the initial one. no clue.</span></div></div></div></blockquote><div><br></div><div>I doubt that's Tcl doing the caching, but very likely to be the OS doing it. &nbsp;Most OSes these days use spare RAM to cache disk reads. &nbsp;My guess is that is what's happening here. &nbsp;I think using xapian is really the best way to solve this issue. &nbsp;I think we should be able to include pre-built xapian indexes in Pd-extended, and in each library. &nbsp;Then everything would be loaded at start time. &nbsp;It would not need to do much indexing at start time since almost everything would already be indexed. &nbsp;Also, it could save the indexes it generates, and only regenerate them when files change.</div><div><br></div><br><blockquote type="cite"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: arial, helvetica, sans-serif; font-size: 12pt; position: static; z-index: auto; "><div style="color: rgb(0, 0, 0); font-size: 16px;
 font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">... after using it a bit I instinctively clicked &lt;alt-left-arrow&gt; to go back,</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">so I guess that's my hand telling me it needs some kind of history.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">(Though it does have a drop-down list of your search terms for that</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">instance of Pd if you click the
 down-arrow.)<br></div></div></div></blockquote></div><br><div>Yeah, well said, that's often how I know certain things need to be done.</div><div><br></div><div>.hc</div></body></html>