We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Because bumpalo cannot deallocate, we may waste a lot of space if we use bumpalo to represent the state of text/list.
For example, after applying the Automerge paper dataset, the RleTree has
bump.allocated_bytes()
It takes about 2MB to represent the state. However, each node only has 80 bytes, and each element only takes 8 bytes.
Bump
Option 1 may be dirty and inefficient because we also need to wrap the type for the allocated element.
The text was updated successfully, but these errors were encountered:
62891e2
No branches or pull requests
Because bumpalo cannot deallocate, we may waste a lot of space if we use bumpalo to represent the state of text/list.
For example, after applying the Automerge paper dataset, the RleTree has
bump.allocated_bytes()
)=2095872It takes about 2MB to represent the state. However, each node only has 80 bytes, and each element only takes 8 bytes.
Solutions
Bump
a generic allocator in RleTreeTraitOption 1 may be dirty and inefficient because we also need to wrap the type for the allocated element.
The text was updated successfully, but these errors were encountered: