Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Which Search Tree To Use

Status
Not open for further replies.

Atropaki

Programmer
Sep 25, 2002
3
TR
Hi friends,

I have a file to process in which I have keys in pairs in a line like

key1 key2 relation1

where key1 and key2 are strings and relation is a double value. I may have up to 1 million lines and may have duplicate key lines like

key1 key3 relation2
key1 key2 relation1_1

and goes on. Can some one tell me which kind of search tree (AVL, splay, ternary etc.) to use for maximum insertion and search speed.
Reply to :
keruru@turk.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top