|
-
Aug 17th, 2017, 02:23 PM
#7
Thread Starter
Hyperactive Member
Re: multiple range checking algorithm vb6
sorry guys, my fault for not giving more detail.
That was what I was going to do, traverse the array until I find a match. But I would need to do 100's of these per second the first time th ip visits ( would save it in a list for quicker access later). So I guess what I am asking is there a fast way to set up the array so that it would be searched as fast as possible to find a range match.
Thinking about it now, I could make the range Minimum number the index of the array??
WP
 Originally Posted by flyguille
make an array with the base value and the top value
then run the array and figure if => than and < than
Last edited by axisdj; Aug 17th, 2017 at 02:28 PM.
Reason: later thought
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|