Rust found 41538 primes up to 500000 in 0.081 seconds. Total call time from PHP: 0.08381986618042 seconds