-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
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
Buffer refactoring in zenoh core #13
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in https://github.com/eclipse-zenoh/roadmap/discussions/12
Originally posted by Mallets April 11, 2022
Summary
Current
ZBuf
andWBuf
implementations are ubiquitously used in zenoh code and bindings.As a result, current implementation needs to accomodate a large set of requirements making it hard to scale and optimise for particular scenarios.
A recent PR, introduced common traits for
ZBuf
andWBuf
implementations.This allows to have targeted buffer implementation that expose a common trait leaving the internal structure tailored to the use case (e.g. serialisation, defragmentation, shared memory, etc.).
Intended outcome
Targeted implementations of
ZBuf
andWBuf
for different places in the code.As a result, memory management and performance should benefit from it.
How will it work?
Users will still use the same zenoh API that is based on the common traits.
The text was updated successfully, but these errors were encountered: