httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <>
Subject [PATCH] performance improvement for userdata
Date Wed, 17 Oct 2001 05:23:06 GMT
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.


View raw message