diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-10-08 13:44:58 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-10-08 13:46:52 +0100 |
commit | 495975e231bd429eb0114d9258423a5e202dcb2b (patch) | |
tree | f35d618bf6950888ffed9832dd0aa39e871da308 /synapse/util | |
parent | Merge pull request #3995 from matrix-org/rav/no_deextrem_outliers (diff) | |
download | synapse-495975e231bd429eb0114d9258423a5e202dcb2b.tar.xz |
Optimisation for filter_events_for_server
We're better off hashing just the event_id than the whole ((type, state_key), event_id) tuple - so use a dict instead of a set. Also, iteritems > items.
Diffstat (limited to 'synapse/util')
0 files changed, 0 insertions, 0 deletions