News for hackers. Stuff that matters.
Re:My favorite prime number generator by krnaveen14 on Wednesday August 23, 2023 @03:00PM (#37240645)
Reminds me of the time where I've implemented highly optimised version of Sieve of Eratosthenes in Java, just for a Code Golf Challenge.

Memory Usage is greatly reduced by using BitSet.

https://github.com/krnaveen14/PrimeNumbers/blob/master/src/m...

https://codegolf.stackexchange.com/a/66915/41984

OMG, it's been 8 years already!

There are no comments on this comment yet.