summary refs log tree commit diff
path: root/src/MatrixClient.cpp
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-21 13:35:36 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-21 13:35:36 +0300
commit54c7eb374a9d850ff8050077be57fafdff4531e9 (patch)
treeda222ead856e7ea457618c215a2f53a5a136940d /src/MatrixClient.cpp
parentClear timeline widgets when they exceed a certain limit (#158) (diff)
downloadnheko-54c7eb374a9d850ff8050077be57fafdff4531e9.tar.xz
Lower the complexity of the group filtering algorithm (#380)
The old algorithm during filtering will check every room
if it's part of the group. O(N*G)

The room ids for a group are now stored in a map for faster lookup
so the search can be completed in a single pass. O(N)
Diffstat (limited to 'src/MatrixClient.cpp')
0 files changed, 0 insertions, 0 deletions