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 Custom Allocators #75

Open
zhuxiujia opened this issue Jul 28, 2023 · 2 comments
Open

Support Custom Allocators #75

zhuxiujia opened this issue Jul 28, 2023 · 2 comments
Labels
Important high value feature or optimization
Milestone

Comments

@zhuxiujia
Copy link

may be

let mut bits = BitVec::from_bytes(&mut mmap[..]);

but now (can't be mut)

let mut bits = BitVec::from_bytes(&mmap[..]);
@pczarn
Copy link
Contributor

pczarn commented May 31, 2024

Nope, you'd better use a custom Allocator

This is not so simple and easy, if I understand you right

@pczarn
Copy link
Contributor

pczarn commented Jul 3, 2024

If I understand you right, you need stuff like https://docs.rs/outsource-heap/latest/outsource_heap/

Changing the issue name

@pczarn pczarn changed the title how to use memmap = "0.7.0"? Support Custom Allocators Jul 3, 2024
@pczarn pczarn added this to the version 1.0 milestone Jul 3, 2024
@pczarn pczarn added the Important high value feature or optimization label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Important high value feature or optimization
Projects
None yet
Development

No branches or pull requests

2 participants