diff options
| author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-04-30 23:59:17 +0200 |
|---|---|---|
| committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-04-30 23:59:17 +0200 |
| commit | 641a883bfdc65c7c9a86e799912e1aaf4dd63f05 (patch) | |
| tree | 4462ebb39f7a5aa0626ed4f26ac292bd963e9de0 /src/RoomList.h | |
| parent | Don't store pending receipts in cache (diff) | |
| download | nheko-641a883bfdc65c7c9a86e799912e1aaf4dd63f05.tar.xz | |
Optimize RoomList sorting
Keep the almost sorted list around and sort by the raw timestamp value instead of doing the expensive toMSecSinceEpoch conversion.
Diffstat (limited to 'src/RoomList.h')
| -rw-r--r-- | src/RoomList.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/RoomList.h b/src/RoomList.h |
