DEV Community

Discussion on: SpeedUp Python List and Dictionary

Collapse
 
jcsvveiga profile image
João Veiga

Great article!
Check out the dis module and disassemble the code and it explains why this happens. TLDR: it's one less instruction inside the hot loop.