Fastest and most efficent way of seaching a key-value pair in Java?
Posted
by Mohit Deshpande
on Stack Overflow
See other posts from Stack Overflow
or by Mohit Deshpande
Published on 2010-06-18T08:55:39Z
Indexed on
2010/06/18
9:03 UTC
Read the original article
Hit count: 180
DISCLAIMER:
THIS QUESTION WAS NOT MENT TO BE ARGUMENTATIVE!!!!!!!
What is fastest and less memory draining way of searching a key-value pair? I will be storing items in a key-value like relation and I need to access them quickly. Should I use a SQLite database? A Map? A Hashtable? A HashMap? Please give some advantages/disadvantages of using whatever method of searching.
© Stack Overflow or respective owner