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

support arena and add Allocator api #10

Merged
merged 4 commits into from
Feb 10, 2023
Merged

support arena and add Allocator api #10

merged 4 commits into from
Feb 10, 2023

Conversation

huandu
Copy link
Owner

@huandu huandu commented Feb 10, 2023

This PR adds new Allocator and related APIs to support Go1.20 arena and other memory management APIs.

In order to support Allocator in every API, there is a breaking change in type Func which is used by SetCustomFunc. I hope this would not break many users.

@huandu huandu added the enhancement New feature or request label Feb 10, 2023
@huandu huandu merged commit 0068aca into master Feb 10, 2023
@huandu huandu deleted the feature-arena branch February 10, 2023 16:45
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

Successfully merging this pull request may close these issues.

1 participant