Skip to content

Conversation

@felixnagele
Copy link
Owner

@felixnagele felixnagele commented Dec 20, 2025

Description

Fix malloc and free performance by updating block list management. A tail pointer is used for O(1) inserts instead of O(n) - scanning the whole linked list every time. This gives a huge speed boost and was confirmed with stress tests.

Issues

Closes #38

Related: #

Testing

Stress tests

@felixnagele felixnagele self-assigned this Dec 20, 2025
@felixnagele felixnagele added the bug Something isn't working label Dec 20, 2025
@felixnagele felixnagele merged commit 916ce84 into main Dec 20, 2025
5 checks passed
@felixnagele felixnagele deleted the fix/malloc-free-performance branch December 20, 2025 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix malloc and free performance issues

2 participants