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

ringbuffer_trait: add extend_from_slice #134

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

phip1611
Copy link
Contributor

@phip1611 phip1611 commented May 12, 2024

This adds an extend_from_slice function to the RingBuffer trait. The default implementation calls push() for each element. However, by creating specialized implementations for the various buffers, one can do various performance optimizations in a follow-up.

Partially closes #124

@phip1611
Copy link
Contributor Author

I rebased the PR. Are we good to go?

@phip1611 phip1611 force-pushed the extend-from-slice branch 2 times, most recently from f64f30b to b2bc618 Compare October 24, 2024 09:32
phip1611 and others added 2 commits November 4, 2024 14:02
This adds an extend_from_slice function to the RingBuffer trait. The default
implementation calls push() for each element. However, by creating specialized
implementations for the various buffers, one can do various performance
optimizations in a follow-up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better bulk insert APIs
2 participants