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

Custom allocators #336

Open
SyntheticBird45 opened this issue Nov 2, 2024 · 0 comments
Open

Custom allocators #336

SyntheticBird45 opened this issue Nov 2, 2024 · 0 comments
Labels
A-binaries Related to binaries. C-discussion General discussion or questions.

Comments

@SyntheticBird45
Copy link
Member

What

Add custom allocators to cuprated behind a feature flag.

Why

Targets that are statically linking (like musl libc by default) will inherit the default (potentially very slow) allocator. Rust permits to easily swap out an allocator and I think this might be beneficial to have a feature flag for it.
The allocators we could support (or force):

@SyntheticBird45 SyntheticBird45 added C-discussion General discussion or questions. A-binaries Related to binaries. labels Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-binaries Related to binaries. C-discussion General discussion or questions.
Projects
None yet
Development

No branches or pull requests

1 participant