Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
aadyachinubhai
· 2mo ago · 0 comments
That is why I like to use __slots__ when defining a class. Unlike dicts, using __slots__ is a tuple so using it to store class attributes is much faster.
Comments
No comments yet.
Better HN