in reply to Re^2: Reducing memory footprint when doing a lookup of millions of coordinates
in thread Reducing memory footprint when doing a lookup of millions of coordinates
Be aware that memoisation will not help your problem at all.
Memoisation speeds up repetitive calculations by caching the results of those calculations to avoid recalculating them. It uses (often prodigious amounts of) memory to gain speed.
Since your stated goal is to reduce memory usage; since you have no repetitive calculations; any attempt to use the linked module could not help your performance and would increase your memory footprint, probably to the point of out-of-memory failure.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Reducing memory footprint when doing a lookup of millions of coordinates
by richardwfrancis (Beadle) on Mar 01, 2011 at 01:13 UTC |