[EMAIL PROTECTED] wrote:
> 
>  > Yeah, I did see the inline statements, but I was worried mostly about
>  > the sheer number of calls. For 5000-odd pages, it seems silly to be
>  > calling something 2 billion times!
> 
>  True. Marcel did the compression and I'm not familiar with the code.
> NField was called in loops where it could have been stored in a temporary
> variable. Still, the loops exists and that means that the compression does
> billion operations on a 5000 page pool.
> 
>  > Good work though, that should help narrow the performance gap.
> 
>  Again, I'm not sure that we will gain significant performances because
> of that. I've compiled and profiled with -O2 -p (no -g) and I see the
> following:
> 
> Each sample counts as 0.01 seconds.
>   %   cumulative   self              self     total
>  time   seconds   seconds    calls  us/call  us/call  name
>   0.00      0.15     0.00   144332     0.00     0.00  WordKey::IsDefined(int) const
>   Note that *all* methods listed from WordKey are inline. For instance
> 
>   0.00      0.15     0.00   144332     0.00     0.00  WordKey::IsDefined(int) const
> 
>   is merely a 'return setbits & constant'. I doubt very much that such
> a thing eats 0.15 sec when repeated 144332 times on a PIII500. We see
> profiling noise here.  I should check to see if there is a way for
A slow start up ? It's monday :)

Didier

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 

Reply via email to