eclipse-zenoh / zenoh-c

C API for Zenoh
http://zenoh.io
Other
82 stars 57 forks source link

refactor: remove unnecessary copy in examples #831

Open YuanYuYuan opened 4 days ago

YuanYuYuan commented 4 days ago

Users take the examples as a reference and learn how to construct a z_owned_bytes properly. After browsing the example codes, I propose removing unnecessary copy in some cases while retaining a few for scenario comparisons.

github-actions[bot] commented 4 days ago

PR missing one of the required labels: {'bug', 'documentation', 'dependencies', 'new feature', 'enhancement', 'breaking-change', 'internal'}