Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > Re: svn commit: r37620 - in trunk/subversion/mod_dav_svn: . reports

subversion
Discussion topic

Back to topic list

Re: svn commit: r37620 - in trunk/subversion/mod_dav_svn: . reports

Author gstein
Full name Greg Stein
Date 2009-05-07 02:48:23 PDT
Message On Wed, May 6, 2009 at 21:07, C. Michael Pilato <cmpilato at collab dot net> wrote:
> Author: cmpilato
> Date: Wed May  6 12:07:20 2009
> New Revision: 37620
>
> Log:
> Introduce a non-varargs brigade printing function for mod_dav_svn to
> use, which reduces the overhead associated with unnecessary
> format-string parsing while still preserving the error-checking that
> the varargs form has.

Nice.

>...
> +++ trunk/subversion/mod​_dav_svn/util.c Wed May  6 12:07:20 2009        (r37620)
> @@ -383,6 +383,23 @@ dav_svn__find_ns(apr​_array_header_t *nam
>
>
>  svn_error_t *
> +dav_svn__brigade_pr​int(apr_bucket_briga​de *bb,
> +                       ap_filter_t *output,
> +                       const char *data)
> +{
> +  apr_status_t apr_err;
> +  apr_err = apr_brigade_write(bb, ap_filter_flush, output, data, strlen(data));

How about apr_brigade_puts() ?

Cheers,
-g

« Previous message in topic | 1 of 3 | Next message in topic »

Messages

Show all messages in topic

Re: svn commit: r37620 - in trunk/subversion/mod_dav_svn: . reports gstein Greg Stein 2009-05-07 02:48:23 PDT
     Re: svn commit: r37620 - in trunk/subversion/mod_dav_svn: . reports cmpilato C. Michael Pilato 2009-05-07 05:16:57 PDT
         Re: svn commit: r37620 - in trunk/subversion/mod_dav_svn: . reports cmpilato C. Michael Pilato 2009-05-07 07:12:39 PDT
Messages per page: