in reply to Re^2: What is the best approach to check if a position falls within a target range?
in thread What is the best approach to check if a position falls within a target range?
FWIW. I've a solution that matches 2e6 random integers (0 .. 1000) against 200,000 randomly generated ranges (0..700, 1..300) in 45 minutes using 3GB of ram.
Of course, of those 2e6 queries only 1000 are unique so it's doing 2000 more work than it needs to.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: What is the best approach to check if a position falls within a target range?
by umasuresh (Hermit) on Feb 16, 2011 at 13:35 UTC | |
by BrowserUk (Patriarch) on Feb 19, 2011 at 22:04 UTC |