Skip to main content

Crate bench_prime_sieve

Crate bench_prime_sieve 

Source
Expand description

Sieve of Eratosthenes benchmark — counts primes up to N.

Functions§

prime_sieve
Sieve of Eratosthenes: count primes up to N. Returns the prime count (π(100000) = 9592).