3 ms·
Thanks for the followup! I last seriously used perl in the 1990s and wasn't really able to follow the code shown in the link. Do you know if they are the same
by eesmith 7y ago
Thanks for the followup!
I last seriously used perl in the 1990s and wasn't really able to follow the code shown in the link. Do you know if they are the same algorithm?
It might be that the performance difference is more due to my coming up with a more efficient implementation.
EDIT: Just tried with PyPy 7.3.1 implementation of Python 3.6.9. It's about 8x faster than CPython - 0.091 seconds. (0.20s if I include startup costs.)