reazen / relude

FP-inspired prelude/standard library for ReasonML projects
https://reazen.github.io/relude
MIT License
268 stars 41 forks source link

List.sequence might need optimization #327

Open andywhite37 opened 2 years ago

andywhite37 commented 2 years ago

@johnhaley81 reported that the List.sequence implementation has bad performance characteristics. This might be because it's relying on a default implementation of apply or something like that - we may need to write a more optimized version. fp-ts has separate versions of functions like this for Array - we could look to see what they're doing.