4 ms·You could define __slots__ on the namedtuple that would not use a hashtable for lookups.by heavenlyblue 5y agoYou could define __slots__ on the namedtuple that would not use a hashtable for lookups.