3 ms·
One caveat though, object creation with `__slots__` is a bit slower than "normal" objects, if I remember my past Python benchmarks correctly.
by plainOldText 9y ago
One caveat though, object creation with `__slots__` is a bit slower than "normal" objects, if I remember my past Python benchmarks correctly.