message/field: cache the message's sexp

Keep it in the store; much faster than generating on the fly.
This commit is contained in:
Dirk-Jan C. Binnema
2022-05-01 01:13:17 +03:00
parent 263e122a13
commit fea596ae3b
7 changed files with 90 additions and 49 deletions

View File

@ -207,7 +207,7 @@ public:
*
* @return false in case of failure; true otherwise.
*/
bool update_message(const Message& msg, Id id);
bool update_message(Message& msg, Id id);
/**
* Remove a message from the store. It will _not_ remove the message