Currently, Primality is only benchmarked against numbers.js (the only JavaScript library I know that has a primality test). Although Primality is not necessarily meant to be faster than primality tests in lower level languages, it would be nice if it was.
We'll never know unless I begin benchmarking against primality tests in other languages.
Currently, Primality is only benchmarked against numbers.js (the only JavaScript library I know that has a primality test). Although Primality is not necessarily meant to be faster than primality tests in lower level languages, it would be nice if it was.
We'll never know unless I begin benchmarking against primality tests in other languages.