in reply to Re^6: Finding Local Minima
in thread Can I speed this up? (repetitively scanning ranges in a large array)

I'm still thinking about this, but one thing I should note right away is that ranges are not all of the same width. 5k is some average, actual lengths are different and typically range between 500 - 20k.

This also raises the question of what are neighboring ranges? Those with nearest centers? nearest edges?

Id you could give the basic loop your idea refers to I could combine it in the code previously published and see if it makes sense.