Priority 2enhancementhelp wantedmaintenance
仓库指标
- 星标
- (462 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Currently vis_guess is a bit slow and it'd be nice to make it faster.
We found that using vapply was much faster than using purrr, which is a bit of a shame as I think that the current code doesn't read as nice as purrr code (dare I say it, it doesn't purrr).
The way I see it we have two options to really speed things up.
- Write some C++ code based on the
readr::::CollectorGuesscode, so that it deals with a vector, rather than a single element. - Use one of the functions from the
parallellibrary, likemcapply.