1.2.2
1.Continue optimize the gdict
core (initialization process), remove set
and frozenset
from the judgment logic of a recursive container instance and now recurse only list
and tuple
.
2.Improve MasqueradeClass
, masquerade the attribute __qualname__
.
3.Disable the __slots__
attribute, Because ChatGPT-3.5 argues that the use of __slots__
in gdict
is not very necessary and may cause some small performance loss.
1.继续优化 gdict
核心(初始化过程),递归容器实例的判断逻辑中移除 set
和 frozenset
,现在仅递归 list
和 tuple
。
2.改进 MasqueradeClass
,隐藏属性 __qualname__
。
3.停用 __slots__
属性来优化性能,因为 ChatGPT-3.5 认为 gdict
中使用 __slots__
不是很必要,反而可能会造成一些微小的性能损失。