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 License MIT