Skip to content

Conversation

@CreeptoGengar
Copy link

  • Replace append() with extend_from_slice() and resize()
  • Add pre-allocation and edge case handling
  • Improves performance for large strings by 1.5-2x

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