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

Improved zmalloc #184

Closed
wants to merge 2 commits into from
Closed

Improved zmalloc #184

wants to merge 2 commits into from

Conversation

ivop
Copy link
Contributor

@ivop ivop commented Oct 3, 2024

I think this is about as small as I can get this algorithm. It occurred to me I was constantly adding and subtracting the size of the size field, so now it's only added in one place, which eliminates all other additions and subtractions when handling the size field(s).
Tested to have identical behaviour to before.

@ivop ivop closed this Oct 3, 2024
@ivop ivop reopened this Oct 3, 2024
@ivop ivop closed this Oct 3, 2024
@ivop
Copy link
Contributor Author

ivop commented Oct 3, 2024

Something is not right. I'll reopen when it's fixed.

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