mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 03:58:06 +03:00
d5accec2e5
We ended up spending ~10% CPU creating a new dictionary and `_RoomMembershipForUser`, so let's avoid creating new dicts and copying by returning `newly_joined`, `newly_left` and `is_dm` as sets directly. --------- Co-authored-by: Eric Eastwood <eric.eastwood@beta.gouv.fr>
1 line
59 B
Text
1 line
59 B
Text
Small performance improvement in speeding up sliding sync.
|