This leads to a question about the nature of the problem:
Do we REALLY need to evaluate all of those 4M values?
If the end result will be sampled in only a few places, then there are definitely more efficient ways to go about it on-demand. If the interesting points are those with certain specific properties (local maxima?) then there will likely be a way to simplify there too.
In reply to Re^2: Can I speed this up?
by SuicideJunkie
in thread Can I speed this up? (repetitively scanning ranges in a large array)
by daverave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |