4 ms·
Good points. Python lists are surprisingly slightly faster than tuples (which are immutable). That's because lists are extremely common, and more effort went in
by b0rsuk 13y ago
Good points. Python lists are surprisingly slightly faster than tuples (which are immutable). That's because lists are extremely common, and more effort went into optimizing them.