This database I've created is going to be filled with more than 1,000 entries. We want people to be able to search according to one of the entries properties, which is a numeric value.
I was thinking of doing a binary search by taking the numer value of each of the entries, putting them all into an array, sorting them, and then doing a binary search.
How slow is this going to be? With a thousand entries will php built-in sort() function run efficiently?
Is there a better solution than this?
Thanks,
Ben