ropensci/visdat

make `vis_guess` fast

開放

#14 建立於 2016年3月6日

 (0 則留言) (0 個反應) (0 位負責人)R (47 個分叉)github user discovery
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.

  1. Write some C++ code based on the readr::::CollectorGuess code, so that it deals with a vector, rather than a single element.
  2. Use one of the functions from the parallel library, like mcapply.

貢獻者指南