DEV Community

Phantz
Phantz

Posted on • Updated on

I wrote a lightning fast prime number generator in C!

I recently found out about this improved and cache optimized version of the segmented sieve of eratosthenes algorithm. Now, me being super interested in primes, I wanted to make it even faster. So I wrote it in C!

Check it out here!

Top comments (0)