You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Pane <bp...@pacbell.net> on 2001/10/17 07:23:06 UTC
[PATCH] performance improvement for userdata
Two small improvements for apr_pool_userdata_set():
* A "setn" variant that doesn't strdup the key (useful when,
for example, the key is a compile-time constant)
* Support for passing in NULL as the cleanup callback, so
that items that don't require a cleanup need not incur
the overhead of registering a no-op callback.
The patch includes changes for Apache's request.c and
mod_log_config to take advantage of these features.
--Brian
Re: [PATCH] performance improvement for userdata
Posted by Dirk-Willem van Gulik <di...@covalent.net>.
On Tue, 16 Oct 2001, Brian Pane wrote:
> * A "setn" variant that doesn't strdup the key (useful when,
> for example, the key is a compile-time constant)
Ha ! Thanks - I only now realize that that was what I needed the other
day. Great.
Dw
Re: [PATCH] performance improvement for userdata
Posted by Dirk-Willem van Gulik <di...@covalent.net>.
On Tue, 16 Oct 2001, Brian Pane wrote:
> * A "setn" variant that doesn't strdup the key (useful when,
> for example, the key is a compile-time constant)
Ha ! Thanks - I only now realize that that was what I needed the other
day. Great.
Dw