We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
because it's very slow. Example: more than half of the overhead in vctrs::vec_as_location2() comes from arg_match().
vctrs::vec_as_location2()
arg_match()
Downstream: tidyverse/tibble#780.
library(vctrs) library(magrittr) bench::mark( vec_as_location2("x", 1L, "x", missing = "propagate", arg = "x"), iterations = 1000 ) %>% dplyr::select(-expression) #> # A tibble: 1 x 5 #> min median `itr/sec` mem_alloc `gc/sec` #> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl> #> 1 78.7µs 88.8µs 9451. 322KB 18.9
Created on 2020-06-14 by the reprex package (v0.3.0)
library(vctrs) library(magrittr) bench::mark( vec_as_location2("x", 1L, "x", missing = "propagate", arg = "x"), iterations = 1000 ) %>% dplyr::select(-expression) #> # A tibble: 1 x 5 #> min median `itr/sec` mem_alloc `gc/sec` #> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl> #> 1 25.7µs 34.9µs 26573. 172KB 26.6
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
because it's very slow. Example: more than half of the overhead in
vctrs::vec_as_location2()
comes fromarg_match()
.Downstream: tidyverse/tibble#780.
vctrs dev
Created on 2020-06-14 by the reprex package (v0.3.0)
r-lib/vctrs#1145
Created on 2020-06-14 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: