On my other computer the best (for C++) relative time I got was about 17 vs 5 seconds.
I don't know C++ well, so perhaps I'm doing something very wrong that is killing performance -- when I tried a version that looks more like the Julia code, C++ took closer to 50 seconds. Theoretically, C++ should not be slower, so I'll look into that more.
I just bring this up to say, XRJulia seems to be working well -- in this case it's looking much better than Rcpp.
Hi,
This seems to round the inputs.
I got this on two computers, both running Ubuntu 16.04 and Julia 0.6.2.
EDIT: To say something positive, I noticed this issue because of this test problem:
versus
On my other computer the best (for C++) relative time I got was about 17 vs 5 seconds. I don't know C++ well, so perhaps I'm doing something very wrong that is killing performance -- when I tried a version that looks more like the Julia code, C++ took closer to 50 seconds. Theoretically, C++ should not be slower, so I'll look into that more. I just bring this up to say, XRJulia seems to be working well -- in this case it's looking much better than Rcpp.
EDIT: https://github.com/johnmchambers/XRJulia/issues/12#issuecomment-374330083 "have to format and then parse data every time." It looks like the problem here is that it truncates the last digit.