apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@xbc.nu>
Subject Re: What to do about tables?
Date Mon, 05 Nov 2001 01:19:25 GMT
Brian Pane wrote:

> 3. Keep using apr_table_t for the fields in request_rec, and redesign
>   the internals of apr_table_t to support O(log(n)) access
>     Pros:
>       * Performance improvement for the httpd
>       * Almost no impact on code that uses APR
>     Cons:
>       * Changes required to code that uses apr_table_elts() (on the order
>         of half a dozen calls in Apache 2.0, and occasional usage in the
>         handful of large 3rd-party modules that I've checked)
>
>
> Comments?

This seems the best way to go. Perhaps apr_table_elts should be replaced 
by a set of iterators, like apr_hash_first/next?


-- 
Brane ─îibej   <brane@xbc.nu>   http://www.xbc.nu/brane/




Mime
View raw message