iota() for integrals stores the step as a member variable. This makes the frequent case step=1 slower than it should. Calls using iota(max) or iota(min, max) should return a structure not storing step, and using ++ to get to the next item.
Comment #1 by iamthewilsonator — 2019-11-03T05:47:02Z
This is a phobos bug.
Comment #2 by robert.schadek — 2024-12-01T16:18:48Z