On Friday, 22 March 2024 at 07:18:01 UTC, Alexibu wrote:
I didn't know map was lazy...I could put .array between map and minIndex but that defeats the purpose of ranges.
OK found the cache algorithm, that does this.
Alexibu via Digitalmars-d-learn Fri, 22 Mar 2024 00:37:07 -0700
On Friday, 22 March 2024 at 07:18:01 UTC, Alexibu wrote:
I didn't know map was lazy...I could put .array between map and minIndex but that defeats the purpose of ranges.
OK found the cache algorithm, that does this.