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

Upgrade/refactor for managers #1

Merged
merged 7 commits into from
May 25, 2024

Conversation

irreverentsimplicity
Copy link
Owner

This refactor allows re-using the logic inside the package, but storing data inside of the realms importing the package.

The approach is to create a data manager for all the types, make the manager the receiver of all the functions (instead of the object, as it was before). The manager is then instantiated inside the realm, allowing the storage backend (avl.Tree) to be used in the said realm.

Posting the PR just to see the diffs.

Feedback welcome.

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

Successfully merging this pull request may close these issues.

1 participant