summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>1997-12-19 09:32:58 +0000
committerChristopher R. Hertel <crh@samba.org>1997-12-19 09:32:58 +0000
commitb88f43dfdbabbc265ab5a394332df23826860154 (patch)
tree82357e0f7424fd5bd830b1b832f0d4cf2e406baa /examples
parentb80b6ea3b43a880bb392b8ef8caaff0f11bb80ef (diff)
downloadsamba-b88f43dfdbabbc265ab5a394332df23826860154.tar.gz
samba-b88f43dfdbabbc265ab5a394332df23826860154.tar.bz2
samba-b88f43dfdbabbc265ab5a394332df23826860154.zip
Adding the cache module.
I'll be using the cache module to replace the name cache in mangle.c. The new one should be much faster and should require less memory. Another feature is that the cache size can be limited by the amount of memory used in addition to the number of entries allowed. With the current cache, the default is to allocate 12800 bytes representing 50 entries (256 bytes each). With the same amount of memory, I should be able to load over around two hundred entries. Changes to the AVL trees were minor (missing comments). Chris -)----- (This used to be commit 45962779a658b0b78895ae08ad394e870ce6ed10)
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions