apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Fritsch ...@sfritsch.de>
Subject Re: [PATCH] Reduce apr_[i|l|off_t_]toa memory footprint for common cases
Date Thu, 28 Mar 2013 17:38:30 GMT
On Monday 25 March 2013, Christophe JAILLET wrote:
> As a first step, I noticed that apr_itoa, apr_ltoa, apr_off_t_toa
> could  be tweaked to require less memory for some common cases.
> The attached patch reduces memory use for small values, that is to
> say  for strings that fit in 8 bytes (including NULL)

Looks like a reasonable optimization to me.


View raw message