DEV Community

Phantz
Phantz

Posted on • Edited on

3 1

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay