selfrefactor / rambda

Faster and smaller alternative to Ramda
https://selfrefactor.github.io/rambda
MIT License
1.65k stars 89 forks source link

R.where short curcuiting #648

Closed nshaikhinurov closed 2 years ago

nshaikhinurov commented 2 years ago

Ramda'a R.where returns early when first predicate fails. But rambda's one evaluates all the predicates in the spec object regardless if one of them already failed. That may potentially be a performance issue.

selfrefactor commented 2 years ago

Thanks for the report. A fix will be published this weekend. I will write again when that happens.

selfrefactor commented 2 years ago

There will be a delay handling this. I just wanted to notify about it.

selfrefactor commented 2 years ago

done with 7.3.0