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

add buffer.shrink_to_fit() to reduce memory #1792

Merged
merged 1 commit into from
Oct 26, 2024

Conversation

gubaojian
Copy link
Contributor

add buffer.shrink_to_fit() to reduce memory when clear buffer.

@uNetworkingAB
Copy link
Contributor

This whole class is in need of a rewrite. It's not just the clear, it's also the erase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants