Tuesday, 10 September 2013

Most efficient way to store and search a large collection of objects in Java

Most efficient way to store and search a large collection of objects in Java

I am currently working on a program which allows a user to search through
a very large collection (~100,000 objects) of trading cards and select
cards of their choice to add to a deck file.
My question is, what is the most efficient way to store these objects for
optimal search time? I need to be able to search each object for multiple
possible values( card information fields such as name, type, rules text,
etc) which match the given search string input and return all cards which
match the search string.
Any suggestions will be appreciated.

No comments:

Post a Comment