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

Move memory and stdx to separate crates #2

Merged
merged 1 commit into from
Aug 20, 2023
Merged

Move memory and stdx to separate crates #2

merged 1 commit into from
Aug 20, 2023

Conversation

mina86
Copy link
Collaborator

@mina86 mina86 commented Aug 20, 2023

stdx includes functions which are not dependent on any other part of
the code base and are useful in any code. As such, it doesn’t make
sense to keep it inside of the sealable-trie crate. Moving it to
separate crate makes it more reusable.

Separating memory into its own crate should make it easier to
implement pool allocators since they won’t need to link to the
sealable-trie crate and thus ‘know’ the details of RawNode structure.

stdx includes functions which are not dependent on any other part of the
code base and are useful in any code.  As such, it doesn’t make sense
to keep it inside of the sealable-trie crate.  Moving it to separate
crate makes it more reusable.

Separating memory into its own crate should make it easier to implement
pool allocators since they won’t need to link to the sealable-trie crate
and thus ‘know’ the details of RawNode structure.
@mina86 mina86 requested a review from blasrodri August 20, 2023 18:51
@mina86 mina86 merged commit 5f3c85f into master Aug 20, 2023
3 checks passed
@mina86 mina86 deleted the mpn/a branch August 20, 2023 19:06
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.

2 participants