I recently came across a slowdown when profiling some tidymodels code that I thought might be worth raising. The utils::packageVersion("rlang") >= "0.4.2" check in standalone-cli.R adds up for us downstream.
#> # A tibble: 2 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
#> 1 signal 46.1µs 47.8µs 20399. 294.26KB 32.0
#> 2 group_by 572.5µs 604.7µs 1603. 3.48MB 23.2
I believe this should be compatible with the "standalone" approach but feels a bit more hacky than I'd usually be comfortable submitting. Very much open to iterate. :)
I recently came across a slowdown when profiling some tidymodels code that I thought might be worth raising. The
utils::packageVersion("rlang") >= "0.4.2"
check instandalone-cli.R
adds up for us downstream.With rlang 1.1.1:
With this PR:
I believe this should be compatible with the "standalone" approach but feels a bit more hacky than I'd usually be comfortable submitting. Very much open to iterate. :)