elm-community / list-extra

Convenience functions for working with List.
http://package.elm-lang.org/packages/elm-community/list-extra/latest
MIT License
135 stars 59 forks source link

Optimize findIndices #66

Closed pzp1997 closed 7 years ago

pzp1997 commented 7 years ago

Benchmarks show a sizable improvement in runtime over the current implementation. My implementation also generates fewer intermediate data structures, reducing strain on the GC.

Chadtech commented 7 years ago

Awesome work btw optimizing all these functions.