| Colin Watson | |||||
|
Subscribe
Flavours |
Tue, 14 Jul 2009 I recently implemented The upshot is that, with a hot cache, man-db takes around 40 seconds to search all manual pages on my laptop; the man package (also with a hot cache) takes around five minutes, and interactive performance goes down the drain while it's doing it since it's spawning subprocesses like crazy. If I limit to a single section, the disparity is closer to 3x than 10x, but it's still very noticeable. It's interesting how much good libraries can do to help guide efficient approaches to problems. Of course, a proper full-text search engine would be much better still, but that's a project for some other time ... |
||||