SimaticResearchActivity / FBAE

Framework for Broadcast Algorithms Evaluation
GNU Affero General Public License v3.0
0 stars 1 forks source link

26 optimize serialization size #53

Closed simatic closed 6 months ago

simatic commented 6 months ago
  1. Thanks to adaptCereal.h, in FBAE, Cereal uses only 4 bytes for storing size_t variables (used to store size of string and size of vectors).
  2. Use Cereal Polymorphic capabilities:

    • Between SessionLayer and AlgoLayer, session messages are exchanged as SessionMsg type, not std::string like before.
    • In AlgoLayer, callbackHandleMsg() is renamed into callbackReceive().

Open issues introduced by this pull request: