AutoRegLib icon indicating copy to clipboard operation
AutoRegLib copied to clipboard

Avoid regex pattern overhead.

Open Darkhax opened this issue 2 years ago • 0 comments

This PR simply replaces the use of String::replaceAll with String::replace in the code that turns & in your tooltips into §. Both methods will replace all occurrences within the given string, however String::replaceAll is specifically for regex patterns and has a very small overhead as it compiles a new regex pattern each time.

Darkhax avatar Oct 02 '22 07:10 Darkhax