It’s a fairly simple dict lookup. The same lookup would happen when you use something from that module, so it’s fairly insignificant in the grand scheme.
Besides, it’s Python. It’s not going to be super fast anyway. That extra check is never going to show up on a perf trace.
dagmx|3 years ago
Besides, it’s Python. It’s not going to be super fast anyway. That extra check is never going to show up on a perf trace.
unknown|3 years ago
[deleted]
formerly_proven|3 years ago