We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The callback passed at DDS Reader creation is expecting a &DDSRawSample as argument:
&DDSRawSample
zenoh-plugin-ros2dds/zenoh-plugin-ros2dds/src/dds_utils.rs
Line 281 in a7d1573
Thus forcing a copy when converting to ZBytes on call to put():
ZBytes
put()
zenoh-plugin-ros2dds/zenoh-plugin-ros2dds/src/route_publisher.rs
Line 490 in a7d1573
If possible, giving ownership of DDSRawSample to the callback would avoid copy.
DDSRawSample
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the feature
The callback passed at DDS Reader creation is expecting a
&DDSRawSample
as argument:zenoh-plugin-ros2dds/zenoh-plugin-ros2dds/src/dds_utils.rs
Line 281 in a7d1573
Thus forcing a copy when converting to
ZBytes
on call toput()
:zenoh-plugin-ros2dds/zenoh-plugin-ros2dds/src/route_publisher.rs
Line 490 in a7d1573
If possible, giving ownership of
DDSRawSample
to the callback would avoid copy.The text was updated successfully, but these errors were encountered: