New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/pull/35088#issuecomment-1015730513 Comment: I added one more package here, which also depends on cysignals. This is the only one I had to `make_check=no` because it is a pain to check before installing, but it's mostly a trivial wrapper package for `primecount`. A simple after-installation test: ``` $ time python -c 'import primecountpy; print(primecountpy.prime_pi(10**18))' 24739954287740860 real 0m3.885s user 4m0.882s sys 0m0.829s ``` If one needs to go farther, use `prime_pi_128`: ``` $ time python -c 'import primecountpy; print(primecountpy.prime_pi_128(10**19))' 234057667276344607 real 0m16.092s user 18m0.676s sys 0m1.086s $ time python -c 'import primecountpy; print(primecountpy.prime_pi_128(10**20))' 2220819602560918840 real 1m3.085s user 73m49.885s sys 0m1.908s ``` Should be O(n2/3) and take good advantage of threads.