I would like to implement an efficient algorithm to search data as part of the following format.
|X|Y|100 character length string|
All columns are non-unique. Which means you can have
|5.5|23.4|SOME TEXT|
|10.1|12.2|SOME TEXT|
|10.1|10.1|MORE TEXT|
An example of a query would be :
- FindText("SOME*") /*Returns all rows with this text */
- FindX(10.1)
- FindY(10.1)
.
.
Will a simple array suffice or is their an algorithm more efficient I should read about?