-
- Downloads
Speedup startup by caching last message timestamp
The cache is only approximate, i.e. it doesn't skip edits and similar, but this might be good enough? Also no migration right now. Speeds up startup by about 5x on my system. Half the startup time is now loading the powerlevels for each room. We can probably lazily load those too in the future.
Showing
- src/Cache.cpp 72 additions, 16 deletionssrc/Cache.cpp
- src/CacheStructs.h 5 additions, 1 deletionsrc/CacheStructs.h
- src/timeline/RoomlistModel.cpp 2 additions, 2 deletionssrc/timeline/RoomlistModel.cpp
- src/timeline/TimelineModel.cpp 13 additions, 3 deletionssrc/timeline/TimelineModel.cpp
- src/timeline/TimelineModel.h 3 additions, 1 deletionsrc/timeline/TimelineModel.h
Loading
Please register or sign in to comment