diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2022-01-21 09:10:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-21 09:10:01 +0000 |
commit | c027bc0e4b071d3d40c7b0c1e7011ad5c8c3d0a0 (patch) | |
tree | 6970cd33219f8ba74913b85d9f1830552c0f1aa6 /changelog.d/11793.misc | |
parent | Make the `get_global_account_data_by_type_for_user` cache be a tree-cache who... (diff) | |
download | synapse-c027bc0e4b071d3d40c7b0c1e7011ad5c8c3d0a0.tar.xz |
Add `FrozenEvent.get_state_key` and use it in a couple of places (#11793)
This is more efficient, since we only have to look up `state_key` in the event dict once, rather than three (!) times.
Diffstat (limited to 'changelog.d/11793.misc')
-rw-r--r-- | changelog.d/11793.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11793.misc b/changelog.d/11793.misc new file mode 100644 index 0000000000..fc0530bf2c --- /dev/null +++ b/changelog.d/11793.misc @@ -0,0 +1 @@ +Add `FrozenEvent.get_state_key` and use it in a couple of places. |