Re: apr_vformatter changes optimizations

2001-10-02 Thread Greg Stein
On Mon, Oct 01, 2001 at 01:43:55PM -0700, Jon Travis wrote: I was thinking today that it would be nice to be able to pre-parse *rintf style format strings into an intermediate array. This would have the potential to speed up code which uses *rintf by quite a bit. Potential vs. demonstrated?

Re: apr_vformatter changes optimizations

2001-10-02 Thread Greg Stein
On Mon, Oct 01, 2001 at 08:28:17PM -0700, Jon Travis wrote: On Mon, Oct 01, 2001 at 04:07:13PM -0700, Greg Stein wrote: On Mon, Oct 01, 2001 at 01:43:55PM -0700, Jon Travis wrote: I was thinking today that it would be nice to be able to pre-parse *rintf style format strings into an

Re: apr_vformatter changes optimizations

2001-10-02 Thread Jon Travis
On Mon, Oct 01, 2001 at 08:51:54PM -0700, Greg Stein wrote: On Mon, Oct 01, 2001 at 08:28:17PM -0700, Jon Travis wrote: On Mon, Oct 01, 2001 at 04:07:13PM -0700, Greg Stein wrote: On Mon, Oct 01, 2001 at 01:43:55PM -0700, Jon Travis wrote: I was thinking today that it would be nice to be

Re: apr_vformatter changes optimizations

2001-10-02 Thread Brian Pane
Greg Stein wrote: On Mon, Oct 01, 2001 at 08:28:17PM -0700, Jon Travis wrote: On Mon, Oct 01, 2001 at 04:07:13PM -0700, Greg Stein wrote: [...] Personally, I'm guessing that more time is spent assembling than parsing. Since the parsing code is intermingled with the code that throws it into the