Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

[LENS-1543] fix replaceAll() to replace() to improve performance #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bd2019us
Copy link

Fix Issue #LENS-1543
The replaceAll() method will compile the given regular expression ahead of time even though the given string is simply a plain string, which will have a bad performance. At this time, the replace() method is recommended to gain a good performance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant