
Hi Marcello, If you do know how to precompile such data, naturally not with grep, yet with 1000 times the speed, you know nothing about computer science. a simple matrix will do! (no, not a 2 dimensional matrix) if you grep for every search request then you are wasting resources! regards Keith. Am 03.02.2012 um 08:59 schrieb Marcello Perathoner:
On 02/02/2012 10:02 PM, don kretz wrote:
You're the one whose design requires dealing in whole-book-sized units of work. It's much more reasonable from a number of perspectives to work at a page level or a chapter level or a paragraph level, all of which I can do.
You are right. We should store books as pages! Why didn't I think of that before? So to find and fix a typo you only have to grep 500 files instead of one. That will give us a big performance boost.