diff --git a/examples/profiling/src/prime-number.ts b/examples/profiling/src/prime-number.ts index 345f6c56d..ae4487f35 100644 --- a/examples/profiling/src/prime-number.ts +++ b/examples/profiling/src/prime-number.ts @@ -47,7 +47,7 @@ function isPrimeNumber(number: bigint): boolean { const squareRoot = bigIntSquareRoot(number) - // Intentionally unefficient to highlight performance issues + // Intentionally inefficient to highlight performance issues for (let i = 3n; i < squareRoot; i += 2n) { if (number % i === 0n) { return false