You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Couldn't this and #17 be solved using a way of specifying an alternative Record class, or factory function, to use? This way the user could even use namedtuples if so desired for memory efficiency.
Record is as memory efficient as Python's tuple (it's implemented in pure C). It's also faster than namedtuple to instantiate, since we have a freelist for it.
The syntax
row.col
looks a lot cleaner thanrow['col']
.What are you thoughts on adding a
__getattr__
method to a Record so that both are possible?The text was updated successfully, but these errors were encountered: