Description
The UTF8String.replace() function and StringReplace expression are missing a few common-case optimizations, such as avoiding copies when the replacement does not change the string and avoiding redundant copying / decoding of the search and replacement strings in case they are constants.
I think there's room to significantly improve performance here, especially for single-character replacements.
Attachments
Issue Links
- links to