ipython / ipython/traitlets

Adding __slots__ to improve performance.

Offen
#519 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
good first issue
Vorherrschende Sprache
Python
Sterne
653
Forks
217
Ø Merge
2 T. 21 Std.
Gemergte PRs (30 T.)
2

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.