primes
is a list of prime numbers
Benchmarks
go test -bench=Uint16IsPrime
go test -bench=Sieve
References
Unit8 and Uint16 primes list was stolen from here.
The sieve.go code is a variant of this sieve.
TODO
- Uint32
- Unit64
is a list of prime numbers
go test -bench=Uint16IsPrime
go test -bench=Sieve
Unit8 and Uint16 primes list was stolen from here.
The sieve.go code is a variant of this sieve.