3 ms·
When it's a bigint addition, as all integer additions in Python are. Also, even when both integers are small, Python usually has to do an allocation anyway to
by LegionMammal978 3y ago
When it's a bigint addition, as all integer additions in Python are.
Also, even when both integers are small, Python usually has to do an allocation anyway to store the result.