|
From: Jiger P. <jig...@ho...> - 2006-11-22 18:52:26
|
Though, I would recommend the new 2.1 and have always found it suitable even on 10000+ files project, if you want to go back to the old query per keystroke behaviour then read FO's docs and set the required properties. Jiger >From: "Alan Ezust" <ala...@gm...> >To: "Jiger Patel" <jig...@ho...> >CC: jed...@li... >Subject: Re: [ jEdit-users ] Fast Open not so fast >Date: Wed, 22 Nov 2006 08:28:17 -0800 > >I have to say, I find 0.5 seconds a little too slow for my tastes. I'd >like it to be 0.3 or even 0.1 seconds. > >And I also have the same problem of sometimes, it not refreshing the >match list if I type while there is a reindex happening and then stop >typing before it is finished reindexing. > >On 11/22/06, Zoltán Kócsi <zo...@be...> wrote: > > On Tue, 21 Nov 2006 13:57:58 +0530 > > "Jiger Patel" <jig...@ho...> wrote: > > > > > FO 2.1 introduces "wait before search" to "improve" performance. In > > > the sense that typically you type faster than your computer can > > > process(in relative sense!) and you generally know the file you want > > > to open so you quickly type 3-4 characters of the filename. What used > > > to happen previously is that for EACH character, FO used to go for > > > search which as you might have guessed was unneccesary. > > > > Hm. A typical computer today executes about 1 billion instructions > > a second. I'm a very messy person and thus my homedir is full of > > junk files. It's about 5G, however, the top level directory contains > > only about 2000 filenames, averaging around 15 characters each. > > > > Even if the search has to check every single filename in its entire > > length that would be around 30,000 characters' worth (and that is a > > mindless brute-force algorithm). > > If I can outtype a machine with a 1 GHz CPU when between keypresses it > > has to do about 30K character compares and refresh a list in a window > > then there's something fundamentally wrong there. > > In any half-decent 3D game they render a scene composed of many > > thousands of triangles in about 1/20 - 1/100s, and even though the > > rendering itself is done by the GPU the mesh as such is calculated and > > delivered to the GPU by the CPU. > > > > I don't know what is not right, but something must be. The roughly 1/10 > > of a second between keypresses should be an ethernity to an algorithm > > which selects the matching entries from a list of a few thousand > > strings on any reasonably recent computer today. > > > > > time it batches the now 3-4 characters and does a single search. > > > thereby improving performance and overall experience. This is not new > > > but you can see the same done by your IDEs before providing you code > > > > Not new for sure - WordStar on CP/M did it back in the late 1970s. > > Mind you, that ran on a 2MHz 8080 CPU with 64K RAM and 360K > > floppies and the timeout was only around 0.5~1 sec or so :-) > > > > Zoltan > > > > >------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share >your > > opinions on IT & business topics through brief surveys - and earn cash > > >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > -- > > ----------------------------------------------- > > jEdit Users' List > > jEd...@li... > > https://lists.sourceforge.net/lists/listinfo/jedit-users > > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys - and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >-- >----------------------------------------------- >jEdit Users' List >jEd...@li... >https://lists.sourceforge.net/lists/listinfo/jedit-users _________________________________________________________________ Headache during sex? Ask Dr. Prakash & Rachna http://content.msn.co.in/Lifestyle/AskExpert/Default03.htm |