Fix benchmarks.

This commit is contained in:
Stephen Chung
2020-04-24 16:20:03 +08:00
parent afc4f73ebf
commit c0eaf8a921
2 changed files with 1 additions and 3 deletions

View File

@@ -9,8 +9,6 @@ use test::Bencher;
// This script uses the Sieve of Eratosthenes to calculate prime numbers.
const SCRIPT: &str = r#"
let now = timestamp();
const MAX_NUMBER_TO_CHECK = 1_000; // 168 primes <= 1000
let prime_mask = [];