black
|
8b3d9b6b19
Run black.
|
6 年之前 |
Amber Brown
|
49af402019
run isort
|
6 年之前 |
Erik Johnston
|
9e8e236d98
Tidy up test
|
7 年之前 |
Erik Johnston
|
f85b6ca494
Speed up cache size calculation
|
7 年之前 |
Erik Johnston
|
2fae34bd2c
Optionally measure size of cache by sum of length of values
|
7 年之前 |
Erik Johnston
|
45fd2c8942
Ensure invalidation list does not grow unboundedly
|
8 年之前 |
Erik Johnston
|
4161ff2fc4
Add concept of cache contexts
|
8 年之前 |
Erik Johnston
|
4fce59f274
Add tests
|
8 年之前 |
David Baker
|
d552861346
Revert all the bits changing keys of eeverything that used LRUCaches to tuples
|
8 年之前 |
David Baker
|
10f76dc5da
Make LRU cache not default to treecache & add options to use it
|
8 年之前 |
David Baker
|
31a051b677
Test treecache directly
|
8 年之前 |
David Baker
|
f1f8122120
Change LRUCache to be tree-based so we can delete subtrees.
|
8 年之前 |
Matthew Hodgson
|
6c28ac260c
copyrights
|
8 年之前 |
Erik Johnston
|
2df8dd9b37
Move all the caches into their own package, synapse.util.caches
|
9 年之前 |
Mark Haines
|
d8324d5a2b
Add a lru cache class
|
9 年之前 |