-
Notifications
You must be signed in to change notification settings - Fork 0
Hall of fame
Ahmet Burak Biçer edited this page Jun 30, 2026
·
1 revision
Large 64-bit primes exercised by this project (exact wheel trial division).
Times are indicative (depend on runner CPU and NUMBA_NUM_THREADS).
| Prime | Formula / note | Typical optimized time (12 threads, order of magnitude) |
|---|---|---|
| 1000000007 | ~0.03 ms | |
| 1000000009 | ~0.03 ms | |
| 2147483647 |
|
~0.05 ms |
| 999999999989 | 12-digit prime | ~0.2–0.6 ms |
| 2305843009213693951 |
|
~0.3–0.5 s |
| 9223372036854775783 | near |
~0.7–0.8 s |
| 18446744073709551557 | largest prime |
~1 s class |
Update this table when benchmark workflows or hardware change. Reproduce:
NUMBA_NUM_THREADS=$(nproc) python is_prime.py --lab 9223372036854775783
NUMBA_NUM_THREADS=$(nproc) python benchmarks/compare_speed.py --include-hardArtifacts from CI Certificate of correctness and benchmark-json are authoritative for a given commit.
Best-Prime-Number-Function — deterministic primality (no stochastic MR) · Source · Wiki maintained from docs/wiki/ + this GitHub Wiki
Wiki
- Home
- Project restrictions
- Algorithm overview
- CI and automation
- Agent briefing
- Contributing
- Benchmarks
- Hall of fame
AI-designed project — review before production use.