Re:Attempts to make Python fast
by chrisseaton on Wednesday October 21, 2020 @05:27PM
(#24852390)
> Python is great but it's not the end-all, be-all.
Yes I agree often it's better to rewrite in a different language if you can.
But if people tell me they want to program in Python or Ruby and they tell me it's worth it for them... then let's make it as fast as we can for them.
Turns out the lookup is a dictionary in raw Python is two order magnitudes slower than an equivalent hashmap lookup in Java.
Once the numbers came in, we realized we had to choose the right language for the job.
Python is great but it's not the end-all, be-all.