Julian Foad <julian.f...@wandisco.com> writes: > On Fri, 2011-02-11, i...@apache.org wrote: >> URL: http://svn.apache.org/viewvc?rev=1069743&view=rev >> Log: >> Optimize svn_string_t creation by allocating memory for svn_string_t >> structure and data in one chunk. >> >> * subversion/libsvn_subr/svn_string.c >> (svn_string_ncreate): Allocate memory for svn_string_t and data in one >> chunk. > > Nice optimization!
It does save a function call, but the memory pools mean that there is no memory saving. It's probably more of an optimization when pool debugging is enabled :) -- Philip