> > > i don't get it.  this new ap_rsprintf is less efficient than the
> > > ap_bsprintf in apache-1.3.
> >
> > I don't doubt it. The primary intent for ap_r* was compatibility; the
> > most optimal mechanism for delivering content is through the new brigade
> > mechanisms (down thru the filter chain).
>
> are other methods for people to write easy putc/puts/printf-style code in
> 2.0?

Yep.  Take a look at ap_fwrite/putc/puts/printf, and 
apr_brigade_write/putc/puts/printf.
Those are meant to be more performance aware.  The functions allocate memory
only when necessary, but once the buffer has been allocated, we do a single copy
into that buffer.

Ryan
______________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
Covalent Technologies                   [EMAIL PROTECTED]
--------------------------------------------------------------

Reply via email to