The equality logcial operator on Rcpp is 8 times slower than on base R

后端 未结 0 976
滥情空心
滥情空心 2020-12-20 22:29

Look at the following simple code and operations:

    library(Rcpp)
    library(microbenchmark)

    set.seed(100)
    x <- sample(0:1, 1000000, replace =          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题