Closed londumas closed 7 years ago
It is possible to fast the code by not looking when quasars are too far from first or last pixel.
With a simple time and checking the output is the same, we have:
real 2m39.522s user 4m25.268s sys 0m15.972s
real 1m57.189s user 3m22.204s sys 0m2.720s
fixed in fix_issue_25
for 10000,
real 22m40.997s user 39m3.276s sys 5m10.960s
real 15m11.999s user 29m10.548s sys 0m18.256s
It is possible to fast the code by not looking when quasars are too far from first or last pixel.
With a simple time and checking the output is the same, we have:
1000 forests, no cut
real 2m39.522s user 4m25.268s sys 0m15.972s
1000 forests, with cut
real 1m57.189s user 3m22.204s sys 0m2.720s