2 ms·
Attribute access of namedtuples aren't any quicker as you've surmised, it requires a hash lookup and an index lookup. Yes, you're right, I was mistaken about h
by pdonis 13y ago
Attribute access of namedtuples aren't any quicker as you've surmised, it requires a hash lookup and an index lookup.
Yes, you're right, I was mistaken about how namedtuples work under the hood.