Closed saraswatmks closed 4 years ago
Also, deprecate parallel
flag in this commit based on following results;
Unit: milliseconds
expr min lq mean median uq max neval
cpp 5.650388 7.459932 9.440925 8.785073 10.86501 24.31161 100
base 29.024448 36.685492 42.911634 40.188746 44.62791 140.26021 100
cpp_parallel 12.583739 14.520927 16.645959 15.958374 17.78588 36.62999 100
Use rcpp to build count matrix, 10x faster than before now.