apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Re: [PATCH] apr_hash.c -- Make table ordered
Date Thu, 11 Oct 2001 06:09:43 GMT
On Thu, Oct 11, 2001 at 07:58:04AM +0200, Mladen Turk wrote:
> The question is where the hash table is used and for what purpose, not for
> the sake of the theory itself.
> How many entries are in the table itself? It is not used to store couple of
> thousand records, not even couple of hundreds.

That can't be realistically answered by the APR library.

In point of fact, mod_mbox uses the hash table to store all of the
message IDs when computing threads.  (It uses DBMs to store the 
complicated information, but it uses the hash when doing the threading 
calculation because of the insanely fast in-memory lookups keyed off
of the Message-IDs.)

We have at least one mbox file with about 2,000 messages.  -- justin


Mime
View raw message