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 /tests/test_visibility.py | |
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 'tests/test_visibility.py')
0 files changed, 0 insertions, 0 deletions