Skip to content

Conversation

@m9tzin
Copy link

@m9tzin m9tzin commented Nov 19, 2025

Changes

  • Buffer now starts with 64 bytes capacity
  • Capacity doubles each time expansion is needed
  • Reduces number of reallocations from O(n) to O(log n) for n characters
  • Maintains full backward compatibility

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