Hacker News new | past | comments | ask | show | jobs | submit login

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.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: