-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.The unique value (the global variable `unique`) no longer pursue individuality, but adopt a safe generic scheme. 2.Optimized `MasqueradeClass`, including optimization of exception output, optimization of equality judgment method, and solved the problem that cannot `copy` and `deepcopy` correctly after masquerading hash value. 3.Optimized the `gdict` core (initialization process), including optimizing the data merge scheme, changing the data decomposition scheme (using the original type of data), and no longer shredding iterators. 4.Fixed an issue in `update` that could cause data clutter. 5.The methods `deepget` and `deepset` support manipulating the built-in `dict` instances, and are therefore about to remove the methods `getdeep` and `setdeep`, using the former uniformly. 6.Optimized methods `copy`, `deepget`, `deepset`, `deepsetdefault`. 7.Parameter annotation and standardization greatly optimized. 1.唯一值(全局变量 `unique`)不再追求个性,而是采用稳妥的通用方案。 2.优化了 `MasqueradeClass`,包括优化了异常输出,优化了相等性判断方法,并解决了伪装哈希值后无法正确 `copy` 和 `deepcopy` 的问题。 3.优化了 `gdict` 核心(初始化过程),包括优化了数据合并方案,改变数据分解方案(使用数据的原始类型),并不再分解迭代器。 4.修复了 `update` 中可能导致数据混乱的问题。 5.方法 `deepget` 和 `deepset` 支持操作内置 `dict` 实例,并因此即将移除方法 `getdeep` 和 `setdeep`,统一使用前者。 6.优化方法 `copy`, `deepget`, `deepset`, `deepsetdefault`。 7.参数注解及规范性大幅优化。
- Loading branch information
1 parent
544631c
commit c693f84
Showing
6 changed files
with
183 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.