Skip to content

optimize regex usage and improve stringToSize function#330

Open
sarff wants to merge 1 commit into
muesli:masterfrom
sarff:feature/optimize-regex-and-stringtosize
Open

optimize regex usage and improve stringToSize function#330
sarff wants to merge 1 commit into
muesli:masterfrom
sarff:feature/optimize-regex-and-stringtosize

Conversation

@sarff

@sarff sarff commented Sep 17, 2025

Copy link
Copy Markdown
  • Move statRegex to package level to avoid recompilation
  • Refactor stringToSize with early returns and lookup table
  • Add comprehensive test cases and benchmarks for stringToSize
image

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