Reduce code bloat a bit
Especially the emoji array shrinks a lot with this, but adds a few extra relocations on startup. But it removes a lot of exception handling code at runtime, which is nice and possibly this is still faster.
This commit is contained in:
parent
20740c9976
commit
920409e914
8 changed files with 11340 additions and 11297 deletions
|
|
@ -32,6 +32,7 @@ auto client_ = std::make_unique<mtx::crypto::OlmClient>();
|
|||
std::map<std::string, std::string> request_id_to_secret_name;
|
||||
|
||||
constexpr auto MEGOLM_ALGO = "m.megolm.v1.aes-sha2";
|
||||
constexpr auto OLM_ALGO = "m.olm.v1.curve25519-aes-sha2";
|
||||
}
|
||||
|
||||
namespace olm {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue