Usage of Cereal polymorphic capabilities can be improved in 3 ways:
Find a solution why polymorphic overhead is currently 22 bytes while it should be only 8 bytes. This is because Cereal stores name of serialized types SessionPerf and SessionTest as a string into the resulting string. For the moment, we did not find why Cereal does that.
SessionLayerMsg.h contains compilation warnings "Function 'serialize' hides a non-virtual function from struct 'SessionBaseClass' that should be removed.
Current code uses shared_ptr. Using unique_ptr would be more efficient.
Usage of Cereal polymorphic capabilities can be improved in 3 ways:
SessionPerf
andSessionTest
as a string into the resulting string. For the moment, we did not find why Cereal does that.SessionLayerMsg.h
contains compilation warnings"Function 'serialize' hides a non-virtual function from struct 'SessionBaseClass'
that should be removed.shared_ptr
. Usingunique_ptr
would be more efficient.