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

Pluggable storages #680

Open
SanderMertens opened this issue Mar 18, 2022 · 4 comments
Open

Pluggable storages #680

SanderMertens opened this issue Mar 18, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@SanderMertens
Copy link
Owner

Describe the problem you are trying to solve.
There are scenarios in which using a table-based storage has usability and/or performance issues:

  • when stable pointers are required
  • when a component would introduce lots of fragmentation
  • when it is expensive to move
  • when there are a lot of components to move

Describe the solution you'd like
An interface that makes it possible to use custom storage plugins which can be configured per component.

@xentripetal
Copy link

Its been a couple years since this has seen activity, wanted to check if this was still under consideration?

@SanderMertens
Copy link
Owner Author

Yep definitely! I'm currently working on v4, which removes a lot of blockers for this work :)

@xentripetal
Copy link

Great to hear, thank you!

I'm not very experienced with C but I will take a look and see if I can help contribute to this. Is there a design doc for how you see this being implemented?

@SanderMertens
Copy link
Owner Author

There isn't, but you can see the design in broad strokes here: https://github.com/SanderMertens/flecs/tree/storage_refactor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants