▲ | diath 4 days ago | |||||||
On semi-related note, it's worth noting that if you're trying to make a Python script run faster and don't have the know-how to re-write your program in C or how to write SIMD (if applicable), you can always try to run the script through pypy, merely replacing python3 with pypy3 in bench.sh, with no other changes, brings the runtime of the first program down from 104s to 9s on my machine:
| ||||||||
▲ | dh2022 3 days ago | parent [-] | |||||||
Thanks for the advice - I never heard of pypy. Are there any downsides to making puppy the default Python interpreter? Thanks! | ||||||||
|