You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently discovered every(), some() and none() and think they are great as I frequently used a pattern like any(map_lgl(...)). As @DavisVaughan pointed out in this PR they are unfortunately much slower than the map_lgl(...) pattern unless they exit early (benchmark copied from the other PR)
I recently discovered
every()
,some()
andnone()
and think they are great as I frequently used a pattern likeany(map_lgl(...))
. As @DavisVaughan pointed out in this PR they are unfortunately much slower than themap_lgl(...)
pattern unless they exit early (benchmark copied from the other PR)It would be great to improve their performance so that they are as fast/faster than
map_lgl(...)
.The text was updated successfully, but these errors were encountered: