Releases: Vivswan/DeDuplicationDict
v1.0.4
v1.0.3
v1.0.2
What's Changed
- Added
__deepcopy__
and more tests - Optimizations of
__setitem__
by value of type DeDuplication hasvalue_dict
consistent - Added
skip_update_on_setitem
toDeDuplication
to skip updatevalue_dict
on__setitem__
Full Changelog: v1.0.1...v1.0.2
v1.0.1
v1.0.0
!!! Ready to be used !!!
A dictionary that de-duplicates values.
A dictionary-like class that deduplicates values by storing them in a separate dictionary and replacing
them with their corresponding hash values. This class is particularly useful for large dictionaries with
repetitive entries, as it can save memory by storing values only once and substituting recurring values
with their hash representations.
This class supports nested structures by automatically converting nested dictionaries into
DeDuplicationDict
instances. It also provides various conversion methods to convert between regular
dictionaries and DeDuplicationDict
instances.
Installation
pip install deduplicationdict
Full Changelog: v1.0.0rc2...v1.0.0
v1.0.0rc2
Documentation: https://deduplicationdict.readthedocs.io/
Full Changelog: https://github.com/Vivswan/DeDuplicationDict/commits/v1.0.0rc2