Working draft Memory Arena extension #3419
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi Bodmer,
Here is a working-draft memory arena sprite feature that I ended up using for one of my clients projects. I'm sure there is a lot of design considerations and changes that should take place and what not, but figured I would give you the pull request so you can use it as a starting point if you are interested in adding it as a feature to the main repository.
My use-case was that most of the time, having a frame buffer was the priority. But for a certain feature, the extra ram was needed, and using a memory arena was chosen to prevent fragmentation.
Thank you very much for this library. It has been tremendously useful for me for my work.