rambda icon indicating copy to clipboard operation
rambda copied to clipboard

R.where short curcuiting

Open nshaikhinurov opened this issue 1 year ago • 2 comments

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.

nshaikhinurov avatar Aug 31 '22 07:08 nshaikhinurov

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

selfrefactor avatar Aug 31 '22 07:08 selfrefactor

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

selfrefactor avatar Sep 05 '22 14:09 selfrefactor

done with 7.3.0

selfrefactor avatar Oct 01 '22 13:10 selfrefactor