summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorErik Johnston <erikj@element.io>2024-05-06 12:56:52 +0100
committerGitHub <noreply@github.com>2024-05-06 12:56:52 +0100
commit3e6ee8ff88c41ad1fca8c055520be952ab21b705 (patch)
tree01e66e1e7da694e4786626ac89fd6e69ea8a8349 /changelog.d
parentFix bug where `StreamChangeCache` would not respect cache factors (#17152) (diff)
downloadsynapse-3e6ee8ff88c41ad1fca8c055520be952ab21b705.tar.xz
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.
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/17130.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/17130.misc b/changelog.d/17130.misc
new file mode 100644
index 0000000000..ac20c90bde
--- /dev/null
+++ b/changelog.d/17130.misc
@@ -0,0 +1 @@
+Add optimisation to `StreamChangeCache.get_entities_changed(..)`.