forked-synapse/synapse/util/caches
Erik Johnston bbfe4e996c Make get_state_groups_from_groups faster.
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.
2017-05-17 15:12:15 +01:00
..
__init__.py Remove DEBUG_CACHES 2017-04-25 10:54:09 +01:00
descriptors.py Don't update event cache hit ratio from get_joined_users 2017-05-08 16:06:17 +01:00
dictionary_cache.py Make get_state_groups_from_groups faster. 2017-05-17 15:12:15 +01:00
expiringcache.py Add setdefault key to ExpiringCache 2017-03-10 10:30:49 +00:00
lrucache.py Update LruCache size estimate on clear 2017-01-18 14:55:23 +00:00
response_cache.py Cache federation state responses 2016-07-21 10:30:12 +01:00
snapshot_cache.py Fix up logcontexts 2016-02-08 14:26:45 +00:00
stream_change_cache.py Fix assertion to stop transaction queue getting wedged 2017-03-15 12:16:55 +00:00
treecache.py Rename and comment tree_to_leaves_iterator 2017-01-17 11:47:03 +00:00