As observed, this code will be called a lot. It should be measured and optimized. However, a significant refactor is pending with the expected 1.5.8 spec update; the micro serialization will be replaced with short-form serialization. As such, we should probably wait until that change to evaluate performance.
_Originally posted by @MelamudMichael in https://github.com/eclipse-uprotocol/up-client-zenoh-cpp/pull/23#discussion_r1554842654_
As observed, this code will be called a lot. It should be measured and optimized. However, a significant refactor is pending with the expected 1.5.8 spec update; the micro serialization will be replaced with short-form serialization. As such, we should probably wait until that change to evaluate performance.