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

mmap support #18

Open
crumblingstatue opened this issue Aug 15, 2022 · 1 comment
Open

mmap support #18

crumblingstatue opened this issue Aug 15, 2022 · 1 comment
Labels
hard Things that are hard to implement properly, and might need considerable refactoring Open ended Issues that need lots of thinking and trying out different options before coming to a conclusion.

Comments

@crumblingstatue
Copy link
Owner

My current idea is to have an immutable mmap with "change buffers" that hold the changes, and can grow, etc, as changes are made.
Then on save, we temporarily make the mmap mutable and write the change buffers.

@crumblingstatue
Copy link
Owner Author

This method will probably not be needed, because memory mapped files support copy on write, where the OS does all the difficult bookkeeping.

@crumblingstatue crumblingstatue added hard Things that are hard to implement properly, and might need considerable refactoring Open ended Issues that need lots of thinking and trying out different options before coming to a conclusion. labels Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hard Things that are hard to implement properly, and might need considerable refactoring Open ended Issues that need lots of thinking and trying out different options before coming to a conclusion.
Projects
None yet
Development

No branches or pull requests

1 participant