Y
Hacker News
new
|
ask
|
show
|
jobs
by
pdonis
4502 days 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.