On Sat, Apr 27, 2002 at 04:33:25AM +0200, Sander Striker wrote: > > I've made a habit of not using calloc. palloc+memset is faster. > > Huh? apr_pcalloc == apr_palloc + memset. The only extra overhead > is the extra function call, since I was asked to reduce code dup > and call apr_palloc from apr_pcalloc (formerly, the apr_pcalloc call > would do its own allocation). I don't think we should promote > apr_palloc + memset when we have apr_pcalloc. If it is too 'slow' > for you, you should modify apr_pools.c to be faster ;)
++1. (aka "What Sander Said") -- justin
