View Single Post
Old 12-24-2011, 07:26 AM   #11
Richard Finney
Senior Member
Location: bethesda

Join Date: Feb 2009
Posts: 700
Default AVL library

Heng (lh3),
Yes, the link is down. It was up the other day. The server at must be taking a holiday. It will probably be back. Regardless I'll email you the AVL "library" at your "me" email address (let me know if there's a better one). Tree-1.0 is really just include files, not an actual linkable library. It is MIT license. Re-implementing the data structures and operations of an AVL package would be pretty easy if it does not suit your needs.

AVL seems most elegant way and will avoid the pathological worst case key clashes of a hash solution; but hash will in most cases be faster with the cost of larger memory usage.
Richard Finney is offline   Reply With Quote