diff options
| author | 2020-05-17 00:10:29 +0200 | |
|---|---|---|
| committer | 2020-05-17 00:10:29 +0200 | |
| commit | 9eeee1ce303b7ebac4fa9db37193921d052d0f8d (patch) | |
| tree | e3d0e5724087053e10e6dc40ae70bad6df84a460 /tests/helpers.py | |
| parent | copy should dictify the .items(), not just keys. (diff) | |
Implements .clear with hash deletion.
This would've been implemented by MutableMapping, but that
implementation is O(n) instead of O(1) since it just iterates the
entire hash and does HDEL. Feels wasteful.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions