-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very slow subsetting for character #544
Comments
Here's a quick profile of But, as these checks seem basically necessary, I guess Codes: library(tibble)
d <- data.frame(a = 1, b = 2, c = 3)
t <- as_tibble(d)
profvis::profvis({for (i in 1:1e5) {t[, "c"]}})
profvis::profvis({for (i in 1:1e5) {t[, 3]}}) |
Thanks. That's the same profile I see. I think we might be able to make it ~8x faster if necessary, not sure if that's fast enough. |
Yeah, the problem is we don't know how fast is fast enough... but ~8x faster sounds great. |
- Faster subsetting with the `[` operator (#544).
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary. |
tidyverse/ggplot2#3018 (comment).
The text was updated successfully, but these errors were encountered: