diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-12-10 15:02:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-10 15:02:33 +0000 |
commit | f0562183e732b066860fcb4b8e24f8a1988aea1a (patch) | |
tree | 3a73d363d63da73808c44d486ef3c5270ee183f4 /changelog.d | |
parent | Stop populating `state_events.prev_state` (#11558) (diff) | |
download | synapse-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')
-rw-r--r-- | changelog.d/11560.misc | 1 |
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. |