Disruptive
Programmer
I need some advice on the quickest method of checking whether a number is contained in an array. I have an single dimension array of variable length. I need to perform a check to see if a number is contained within the array. Currently one can look through the array. However this is very time consuming. Is there a quicker way to do this? I am performing this operation many many times so speed really is important.
Any ideas?
Thanks
Any ideas?
Thanks