Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.4: Speed up Spotlight searches via paste' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Speed up Spotlight searches via paste
Authored by: nickp on Jun 08, '05 11:02:57PM

Um, this is simply cruddy programming on the part of someone at Apple. *Any* event loop based program should treat user input as the absolutely most important thing, and stop whatever else it is doing in order to process that input. And then throw away what it _had_ been doing if that's appropriate.

If doing the character-by-character search is slower, then throw it away and start a new search whenever the user types a new character.

I am amazed at the number of programmers that get this wrong; frankly I think it is inexcusable. Open a &$%! textbook.

A delay? Bandaid solution. Which also breaks the "incremental search" (as we used to call it back in the Triassic) feature for those that like it.

More evidence for Rob's theory that Spotlight is really a version 0.95 product ...

[ Reply to This | # ]