redmage1993 / bitwisesieve Goto Github PK
View Code? Open in Web Editor NEWA bitwise version of the prime-finding algorithm Sieve of Eratosthenes. The "problem" with the algorithm is its high space complexity. For fun, I improve it a little by using bits for computations.