matrix-rust-sdk/matrix_sdk_crypto
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
..
benches benches: Add a benchmark for the missing session collecting 2021-03-11 13:30:19 +01:00
src crypto: Don't load the account every time we load sessions in the sled store 2021-03-11 19:49:32 +01:00
Cargo.toml crypto: Encrypt room keys for a room key share request in parallel 2021-03-09 14:30:28 +01:00
README.md matrix-sdk: Add a bunch of readmes to the crates. 2020-05-26 19:33:13 +02:00

README.md

Build Status codecov License #matrix-rust-sdk

matrix-sdk-crypto

matrix-rust-sdk is an implementation of a Matrix client-server library in Rust.

NOTE: This is a E2EE implementation for Matrix, you are probably interested in the main rust-sdk crate.