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

Add FlatterScatter creation policy #254

Draft
wants to merge 382 commits into
base: dev
Choose a base branch
from

Conversation

chillenzer
Copy link
Contributor

@chillenzer chillenzer commented Jun 25, 2024

This is WIP and the original description here is horribly outdated. I'll keep this in for easy access to the diff but I'll update once it's relevant.
Hi @psychocoderHPC,

this version has a compile-time defined heap. Should theoretically work as almost drop-in replacement for the old version with the following changes:

  • wastefactor == 1 and resetfreedpages == true are enforced at compile-time.
  • The ScatterConfig struct used to configure the heap needs one more compile-time value heapsize.
  • There is a runtime value for heapsize given to the constructor of the Allocator. The two are enforced to be identical.

Feel free to play around with it!

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