
#388: Python 3.11 is here and it's fast
Talk Python To Me
00:00
Using the Built-Ins Dictionary to Do the Same Thing in Python
A good example is something like a global load or a load from the built-in. So, I'm looking up like the LAN function. That requires two dictionary lookups. Every time I want to use LAN or range or list or any of those built-ins, that's the cost that I have to pay. And so, you obviously in a lot of code as like a older code is a kind of a micro optimization.
Transcript
Play full episode