Why is running this function in a for loop faster on average than running it in parallel?

前端 未结 0 1123
误落风尘
误落风尘 2021-01-30 02:17

Amazon EC2 with 96 vCPU and 768 GB RAM. The for loop only needs roughly half the time per iteration compared to parSapply.

library(parallel)

mat <- matrix(rno         


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