3 ms·
Nice. I suppose I should try optimizing the Lua code some more. There are some nasty branches in there that might slow it down. The Lua code is not exactly ide
by Houshalter 11y ago
Nice. I suppose I should try optimizing the Lua code some more. There are some nasty branches in there that might slow it down.
The Lua code is not exactly identical to the rust code. I test all numbers less than n, as opposed to counting n primes. I set n so it got slightly more primes than the rust code though.