in reply to Re: The fastest way of searching a certain element in an array
in thread The fastest way of searching a certain element in an array

The point is still made that when doing repeated searches on a datastore, one must consider what kind of store it is. Sortedness, what data it's storing, what kind of searching facilities already exist for it ... there is never a "One Right Answer"tm for any computing question (though there are many "Less Than Perfect"tm answers).

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

  • Comment on Re: Re: The fastest way of searching a certain element in an array