Fix nested object shared_model construction in protobuf backend. Now nested objects are not copied into shared_model objects, reducing the memory consumption twice.
Remove redundant vector copy in yac/transport/impl/network_impl.cpp.
Benefits
Reduce memory consumption.
Possible Drawbacks
None.
Usage Examples or Tests
Add static object counters to shared_model::proto and iroha::protocol object and compare the output.
Description of the Change
Fix nested object shared_model construction in protobuf backend. Now nested objects are not copied into shared_model objects, reducing the memory consumption twice. Remove redundant vector copy in
yac/transport/impl/network_impl.cpp
.Benefits
Reduce memory consumption.
Possible Drawbacks
None.
Usage Examples or Tests
Add static object counters to
shared_model::proto
andiroha::protocol
object and compare the output.