Closed eutwt closed 2 years ago
Oops. I missed that, thanks to https://github.com/Rdatatable/data.table/pull/4353, this can be fixed more easily by using nomatch = NULL
once data.table releases and we bump the required version. Probably not worth fixing before then
I sort of still like the idea of doing this one 🤷♂️
data.table
seems to be pretty slow getting this release out. If we release before they do it'd be nice to have.
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)