4 ms·
Is dynamic typing really what kills Python's speed? Or even allocation and gc? I always kinda assumed it was doing dictionary lookups for variable access that r
by sideshowb 5y ago
Is dynamic typing really what kills Python's speed? Or even allocation and gc? I always kinda assumed it was doing dictionary lookups for variable access that really took time.
- jakobnissen 5y agoIt's 100 small things, each which were accepted because Python was already so slow, it didn't make a difference. Look at the past graveyard of failed attempts to speed up Python. Pypy and Numba are probably the best examples, but neither are very useful. I think it's best to accept Python is just slow, and to use another language.