Re: sdirno/sfileno sizes

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 31 Mar 2001 01:26:48 +0200

Andres Kroonmaa wrote:

> > Only covers a small fraction of the cbdata types. Most are registered
> > dynamically using the macro CBDATA_INIT_TYPE().
>
> We can call Tune function right after these?

Which gets a bit awkvard as it is not very obvious that cbdata uses
memory pools, or where the pool is...

> Well, we can eventually pick chunk size based on whats most
> wanted, and find ways to tune the rest.

Exacly.

> Currently, equal size of all chunks in a pool is a precondition.
> It would get more difficult and slower to handle variable chunks
> within pool. Possible, but I think doubtly worth it, due to
> performance penalty.

I'll wait with answering you on this until I have read the code, but
from what you have described of how it works I don't see any noticeable
performance penalty.

/Henrik
Received on Fri Mar 30 2001 - 16:26:12 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:42 MST