matrix-rust-sdk/matrix_sdk_crypto/src/session_manager
Damir Jelić 593b5e55cb crypto: Don't load the account every time we load sessions in the sled store
This removes a massive performance issue since getting sessions is part
of every message send cycle.

Namely every time we check that all our devices inside a certain room
have established 1 to 1 Olm sessions we load the account from the store.

This means we go through an account unpickling phase which contains AES
decryption every time we load sessions.

Cache instead the account info that we're going to attach to sessions
when we initially save or load the account.
2021-03-11 19:49:32 +01:00
..
group_sessions.rs crypto: Remove an unneeded import. 2021-03-10 09:58:30 +01:00
mod.rs crypto: Move the session managers under a common module. 2020-10-16 11:09:55 +02:00
sessions.rs crypto: Don't load the account every time we load sessions in the sled store 2021-03-11 19:49:32 +01:00