3 ms·
You don't have to validate all objects inside of that list are an int or handle cases via duck typing, exceptions, etc. As _yosefk said, the interpreter can as
by codygman 12y ago
You don't have to validate all objects inside of that list are an int or handle cases via duck typing, exceptions, etc.
As _yosefk said, the interpreter can assume a more compact representation.