0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-11 15:18:54 +02:00
synapse/synapse/util/caches
Erik Johnston 3e6ee8ff88
Add optimisation to StreamChangeCache (#17130)
When there have been lots of changes compared with the number of
entities, we can do a fast(er) path.

Locally I ran some benchmarking, and the comparison seems to give the
best determination of which method we use.
2024-05-06 12:56:52 +01:00
..
__init__.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
cached_call.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
deferred_cache.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
descriptors.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
dictionary_cache.py Bump mypy from 1.5.1 to 1.8.0 (#16901) 2024-03-13 17:05:57 +00:00
expiringcache.py Bump mypy from 1.5.1 to 1.8.0 (#16901) 2024-03-13 17:05:57 +00:00
lrucache.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
response_cache.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
stream_change_cache.py Add optimisation to StreamChangeCache (#17130) 2024-05-06 12:56:52 +01:00
treecache.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
ttlcache.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00