>On Sun, 12 Aug 2001 18:39:36 +0200, Daniel Bratell <[EMAIL PROTECTED]> wrote: >>> Thus eliminates one hash lookup. That is 793 hash looks eliminated on >>> startup. >>> >>> Timing wise, startup for my went from 26 sec to 25.3 sec >> >>793 hash lookups shouldn't take more than a couple of milli seconds. >>What else could have benefitted from your change? > >Perhaps we need to verify that the hash table is actually working? Is there >code that asserts if we get too many colisions? > >Jim FWIW - I looked at this very briefly and concluded that most of the time was actually spent in constructing the hash key, rather than in actual lookup. The problem seemed to be frequent use of very long strings used for hash key and terrible slow ns char string parsing routines. Sam
