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

Buffer reuse #36

Closed
sandersdan opened this issue Jan 9, 2020 · 1 comment
Closed

Buffer reuse #36

sandersdan opened this issue Jan 9, 2020 · 1 comment

Comments

@sandersdan
Copy link
Contributor

It can be much more efficient to decode to and encode from pools of buffers rather than allocating for every frame. This likely requires a way to return buffers quickly (more quickly than GC).

Encoded data is typically small enough that copies into/out of a pool are a negligible cost, but we should verify that.

@padenot
Copy link
Collaborator

padenot commented May 5, 2021

#212 is about this and has a proposal.

@padenot padenot closed this as completed May 5, 2021
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

No branches or pull requests

2 participants