Experimenting with streams and collections of scala and dotty.
test
jmh:run -i 15 -wi 15 -f 3 -gc true .*
Currently all collections are boxed (no specialization) and sequential:
- baseline in loop-based code
scala.collection.mutable.IndexedSeqView
from scala collectionsstrawman.collection.ArrayView
of collection-strawman- a minimal pull-based implementation
- a minimal reference push-based implementation
- Using JMH + sbt-jmh
- More on collection-strawman + Dotty Issue
- Two styles for On-Demand Processing