Skip to content
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

Avoid dynamic memory allocation in message queues #176

Open
Yadunund opened this issue May 22, 2024 · 0 comments
Open

Avoid dynamic memory allocation in message queues #176

Yadunund opened this issue May 22, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Yadunund
Copy link
Member

Presently we rely on an std::dequeue to buffer messages, service requests and responses. While the size of the queue is kept the same, there is a lot of dynamic allocation happening when pushing and popping from the queue.

We should switch to ring buffers for more performant storage. Currently prototyping something in this branch

@Yadunund Yadunund self-assigned this May 22, 2024
@Yadunund Yadunund added the enhancement New feature or request label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant