Displaying 1 result from an estimated 1 matches for "r_online_compiler".
2017 Oct 01
0
Revert to R 3.2.x code of logicalSubscript in subscript.c?
...stem.time(x[i])
system.time(x[i])
Output:
?? user? system elapsed
? 0.538?? 0.741?? 1.292
?? user? system elapsed
? 0.506?? 0.668?? 1.175
?? user? system elapsed
? 0.448?? 0.534?? 0.986
?? user? system elapsed
? 0.431?? 0.528?? 0.960
The results were from R 3.3.2 on http://rextester.com/l/r_online_compiler . The no-recycling version took longer time than the recycling version for example 2, where more time was taken in both versions.
Function 'logicalSubscript' in subscript.c in R 3.2.x also use a faster code for the case of no recycling, but does two passes in all cases. Treatment for the c...