ipython / ipython/traitlets

Adding __slots__ to improve performance.

未关闭
#519 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
good first issue
主要语言
Python
星标
653
派生
217
平均合并
2 天 21 小时
30 天内合并 PR
2

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。