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

Implement Allocator APIs #15

Closed
wants to merge 2 commits into from
Closed

Conversation

simnalamburt
Copy link
Contributor

@simnalamburt simnalamburt commented Oct 28, 2024

This PR is a proof of concept (PoC) for implementing allocator APIs in bumpalo-herd. I would appreciate it if you could take a look and provide your feedback.

Blocked by #14

Closes #6

Copy link
Owner

@vorner vorner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reading #6, it seems this implements something else than the original author of that intended ‒ the intention there seemed to be to have Allocator out of Herd (then the collections could be Send/Sync). As Member is not, it it is of limited use as an allocator.

Can you get in touch with @wackbyte and discuss why this approach didn't work for them?

@simnalamburt
Copy link
Contributor Author

Oh, I just reread the issue tracker and realized that, as you said, what I submitted in the patch isn’t what was wanted at all. My apologies.

@simnalamburt simnalamburt deleted the patch-2 branch November 4, 2024 13:46
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.

Provide feature to use nightly allocator API
2 participants