mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-16 06:51:46 +01:00
bbfe4e996c
Most of the time was spent copying a dict to filter out sentinel values that indicated that keys did not exist in the dict. The sentinel values were added to ensure that we cached the non-existence of keys. By updating DictionaryCache to keep track of which keys were known to not exist itself we can remove a dictionary copy. |
||
---|---|---|
.. | ||
caches | ||
__init__.py | ||
test_clock.py | ||
test_dict_cache.py | ||
test_expiring_cache.py | ||
test_limiter.py | ||
test_linearizer.py | ||
test_log_context.py | ||
test_lrucache.py | ||
test_rwlock.py | ||
test_snapshot_cache.py | ||
test_treecache.py | ||
test_wheel_timer.py |