Adding __slots__ to improve performance.
Aperta
good first issue
- Lingua principale
- Python
- Stelle
- 653
- Fork
- 217
- Merge medio
- 2g 21h
- PR unite (30g)
- 2
Descrizione
We could probably significantly improve performance if we added `__slots__` to `HasTraits` and common `TraitType`. We'd just have to include `__dict__` as one of the slots to maintain backward compatibility.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.