I haven’t tried PyPy for this particular project, but my experience previously had been that while I usually got a bit of speedup it wasn’t typically much.
That’s also my experience in most cases, but in others can be much faster. It does especially well on code with lots of looping that can be JITted. As a data point, https://github.com/jeffkaufman/kmer-egd/blob/main/count-quality.py is ~3x faster on my machine (takes 0.8 seconds vs 3 seconds on 100k lines of length 151 containing FF). Which probably is not enough to make a difference, but might still be useful.
Thanks for the reply!
That’s also my experience in most cases, but in others can be much faster. It does especially well on code with lots of looping that can be JITted.
As a data point, https://github.com/jeffkaufman/kmer-egd/blob/main/count-quality.py is ~3x faster on my machine (takes 0.8 seconds vs 3 seconds on 100k lines of length 151 containing FF).
Which probably is not enough to make a difference, but might still be useful.
Yes, probably not enough to make a difference; that one in particular is fast enough in python. But useful to have the number!