perf(iterator): Optimize Iter eager consumers by mizchi · Pull Request #3642 · moonbitlang/core
Summary This PR optimizes eager Iter consumers by avoiding the extra self.next() call inside hot loops. Consumers such as each, fold, to_array, find_first, contains, nth, maximum, and minimum now c...
github.com