On Wed, 26 Sep 2001, Brian Pane wrote:

> apr_pstrcat does two passes through its args: one to compute the
> length, a second to do the copying.  This patch adds a buffer to
> save the lengths of the first 6 args so that the second pass
> doesn't need to another strlen on them.  (If you pass in more than
> 6 strings to concatenate, this optimization just gets applied to the
> first 6.)

Ahh, how I wish we had those nifty counted strings.  But anyway, since
that's not gonna happen anytime soon, +1.

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   [EMAIL PROTECTED]
   Charlottesville, VA


Reply via email to