A tiny Python prime number cruncher / CPU bench
— A fun little exercise
How to use:
python3 cpu.py
Optional argument -n (number to crunch)
python3 cpu.py -n 100000000
(using pypy3 seems to be about 10x faster)
A tiny Python prime number cruncher / CPU bench
— A fun little exercise
How to use:
python3 cpu.py
Optional argument -n (number to crunch)
python3 cpu.py -n 100000000
(using pypy3 seems to be about 10x faster)