4 ms·
YMMV, but a tuple should be faster than a list for construction and iteration. Though, I believe it is a pretty negligible amount.
by 5d8767c68926 4y ago
YMMV, but a tuple should be faster than a list for construction and iteration. Though, I believe it is a pretty negligible amount.