mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-28 23:20:09 +03: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. |
||
---|---|---|
.. | ||
api | ||
appservice | ||
config | ||
crypto | ||
events | ||
handlers | ||
metrics | ||
replication | ||
rest | ||
storage | ||
util | ||
__init__.py | ||
test_distributor.py | ||
test_dns.py | ||
test_preview.py | ||
test_state.py | ||
test_test_utils.py | ||
test_types.py | ||
unittest.py | ||
utils.py |