httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <bp...@pacbell.net>
Subject [PATCH 2] speedup for apr_table_t
Date Sun, 18 Nov 2001 06:58:23 GMT
Attached is a new version of my table speedup patch.
In this version, I added some additional optimizations
to the table code:

  * A rewrite of apr_table_overlap() that uses a hash
    table (sort of) instead of qsort

  * Cliff's faster version of the prefix computation macro

  * apr_palloc instead of apr_pcalloc for creating the
    array inside a table

To benchmark these changes, I instrumented the table code
so that I could "replay" a trace of the httpd's sequence
of table operations in a standalone test driver.  With this
patch, the total time spent in table operations is reduced
by 40%.

--Brian


Mime
View raw message