in reply to Re: Fast algorithm for 2d array queries
in thread Fast algorithm for 2d array queries
"But you fail to say how big the main array is? "
not that big, the size of the main array is 3000. n is 500-1000 (the number of inner arrays from which i need to pick)
"Or what you need to look up. Ie. what do you start with; and what information do you need to end up with?"
i start with my query array which is 500-1000 different ints between 0 and 2999 and i need to end up with the int value from inner arrays that is the most prevalent on those picked 500-1000 arrays. (intersect that has the highest number of elements)
"Or how many lookups you need to do? "
about 15000000 per hour.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Fast algorithm for 2d array queries (Got a cluster?)
by BrowserUk (Patriarch) on Feb 07, 2014 at 11:25 UTC | |
by Anonymous Monk on Feb 07, 2014 at 12:13 UTC | |
by BrowserUk (Patriarch) on Feb 07, 2014 at 12:36 UTC | |
by Anonymous Monk on Feb 07, 2014 at 21:19 UTC | |
by BrowserUk (Patriarch) on Feb 07, 2014 at 22:27 UTC |