mirror of
https://github.com/element-hq/synapse
synced 2024-07-05 12:43:33 +00:00
slots use less memory (and attribute access is faster) while slightly limiting the flexibility of the class attributes. This focuses on objects which are instantiated "often" and for short periods of time.
2 lines
36 B
Plaintext
2 lines
36 B
Plaintext
Use slotted classes where possible.
|