strings: optimize ToLower() #60127
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Performance
Milestone
Hi,
I want to optimize the ToLower function and its dependencies.
Reduce memory allocation, early return...
Why
I made a small pkg for patern matching https://github.com/IGLOU-EU/go-wildcard
I wanted to add a "case-insensitive" option, but it loses a lot of performance, even for an empty string.
Bench
The text was updated successfully, but these errors were encountered: