summary refs log tree commit diff
path: root/changelog.d/11560.misc
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-12-10 15:02:33 +0000
committerGitHub <noreply@github.com>2021-12-10 15:02:33 +0000
commitf0562183e732b066860fcb4b8e24f8a1988aea1a (patch)
tree3a73d363d63da73808c44d486ef3c5270ee183f4 /changelog.d/11560.misc
parentStop populating `state_events.prev_state` (#11558) (diff)
downloadsynapse-f0562183e732b066860fcb4b8e24f8a1988aea1a.tar.xz
skip some dict munging in event persistence (#11560)
Create a new dict helper method `simple_insert_many_values_txn`, which takes
raw row values, rather than {key=>value} dicts. This saves us a bunch of dict
munging, and makes it easier to use generators rather than creating
intermediate lists and dicts.
Diffstat (limited to 'changelog.d/11560.misc')
-rw-r--r--changelog.d/11560.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11560.misc b/changelog.d/11560.misc
new file mode 100644
index 0000000000..eb968167f5
--- /dev/null
+++ b/changelog.d/11560.misc
@@ -0,0 +1 @@
+Minor efficiency improvements in event persistence.