Skip to content

Conversation

@cellomath
Copy link
Contributor

I want to use zware for a memory-constrained embedded project.
Unwinding objects's allocations will allow for allocated memory to be more reusable, as FixedBufferAllocators can free its last allocated memory.

@malcolmstill
Copy link
Owner

@cellomath apologies for the delay in looking at this, thanks for the submission.

I think I understand the argument here and tests passing so will happily merge (though I might have to work through an example with FixedBufferAllocator to see a useful reuse without just throwing away the whole thing to completely understand).

If you could think up some test that checks this behaviour that might be nice to include to avoid future regressions.

Thanks!

@malcolmstill malcolmstill merged commit ff3e759 into malcolmstill:master Aug 23, 2025
13 checks passed
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