On Wed, Sep 05, 2001 at 11:12:18PM -0700, Brian Pane wrote:
> The find_entry() function in apr_hash.c is responsible for over
> half the apr_pcalloc() calls in the httpd. The calloc call
> is somewhat wasteful in this context; 4 of the 5 fields in the
> allocated struct get overwritten immediately
The find_entry() function in apr_hash.c is responsible for over
half the apr_pcalloc() calls in the httpd. The calloc call
is somewhat wasteful in this context; 4 of the 5 fields in the
allocated struct get overwritten immediately. Thus the following
patch replaces the calloc with an alloc and se