eclipse-uprotocol / up-transport-zenoh-cpp

C++ client library to connect to the zenoh implementation of uProtocol
Apache License 2.0
5 stars 15 forks source link

Measure conversion time for UUri->Zenoh Key and optimize if needed #29

Open gregmedd opened 5 months ago

gregmedd commented 5 months ago
          as this code will be called each time send is called, do you know if there is any performance impact?

_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.