With help of Benjamin Stadin I've written a fast cache-like
data storage based on two linked AVL-Trees for primary and
secondary indexing.


Included is a small demo that demonstrates use and speed
of the TCacheTree class. Beside SSL session caching TCacheTree
could be also very usefull for other purposes.

Performance messured on a Pentium D 2.80GHZ:  

Preparing random word list.. // englisch words up to ~18 chars long
Word list has 30322 entries
Inserting 30322 entries..
Duration = 86 ms
Now starting 10.000 random searches..
Duration = 19 ms

Arno Garrels [TeamICS]

To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to