AutoRegLib
AutoRegLib copied to clipboard
Avoid regex pattern overhead.
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.