> I bet you're leaving some performance on the table without disabling danger 
> checks.

Indeed! I put my laptop in performance mode, and added the flags you used + 
--opt:speed. I tried -d:lto too, but it does not change anything.

Some runs here: nim r -d:release -d:danger eratosthenes2.nim Found 23000 primes 
to 262146 for 1225 loops in 52 milliseconds. nim r -d:release -d:danger 
--opt:speed eratosthenes2.nim Found 23000 primes to 262146 for 1225 loops in 48 
milliseconds. 

Reply via email to