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

Use Batch Entries For Reservation Lists #24

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Conversation

ibraheemdev
Copy link
Owner

Use batch entries instead of nodes for reservation list. This allows us to move the batch pointer into the batch allocation, reducing the memory overhead of a node to one word.

Part of #5.

@ibraheemdev
Copy link
Owner Author

This does add an extra indirection when traversing reservation lists to get to the node, but until nodes are made optional for epoch tracking, it's not worth moving the reservation list pointer into the batch.

@ibraheemdev ibraheemdev merged commit 18531b0 into master Apr 16, 2024
12 checks passed
@ibraheemdev ibraheemdev mentioned this pull request Apr 16, 2024
@ibraheemdev ibraheemdev deleted the memory-usage branch November 21, 2024 21:10
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