3 ms·
Yes, but only for compound types with 3-4 values, maximum. If you need something to store 7-8 different value types, either make a class or reach for named tup
by wheelerof4te 5y ago
Yes, but only for compound types with 3-4 values, maximum.
If you need something to store 7-8 different value types, either make a class or reach for named tuple.
I tried using regular tuples as lightweight objects, it does not work.