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

Transient API #4

Open
sgraf812 opened this issue Jul 9, 2021 · 1 comment
Open

Transient API #4

sgraf812 opened this issue Jul 9, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed optimization Something can be optimized

Comments

@sgraf812
Copy link
Contributor

sgraf812 commented Jul 9, 2021

RRB trees are appealing because like vectors, they offer an even more efficient transient (as opposed to persistent) API based on unsafe mutable primitives.

Can we have such a module in this library? Plus maybe another module that wraps the unsafe API with linear types.

See also Ed Kmett's transients lib.

@konsumlamm konsumlamm added enhancement New feature or request help wanted Extra attention is needed optimization Something can be optimized labels Jul 9, 2021
@konsumlamm
Copy link
Owner

That's a great idea! This seems like a perfect use case for linear types.

Unfortunately, I don't know much about transients, so I probably won't be able to do this myself soon, but I plan to read up on it in the future (Kmett's lib definitely looks interesting). Any help is appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed optimization Something can be optimized
Projects
None yet
Development

No branches or pull requests

2 participants