slice()
unnecessarily evaluates ...
twice for each group
#377
Labels
slice()
unnecessarily evaluates ...
twice for each group
#377
slice()
could be made faster when the arguments in...
are expensive to compute by evaluating...
only once per group. In the example below where the argument to slice takes one second to compute and there are two groups, the code takes ~4 seconds to run instead of ~2.Created on 2022-07-19 by the reprex package (v2.0.1)
The text was updated successfully, but these errors were encountered: