Skip to content

PATCH - Performance can be increased if replaceAll() does not use a r…#14

Open
bd2019us wants to merge 1 commit intoapache:trunkfrom
bd2019us:PATCH-REPLACEALL
Open

PATCH - Performance can be increased if replaceAll() does not use a r…#14
bd2019us wants to merge 1 commit intoapache:trunkfrom
bd2019us:PATCH-REPLACEALL

Conversation

@bd2019us
Copy link

…egex by replacing replaceAll() with replace(). ReplaceAll() costs some performance overhead by compiling the regex whereas replace() does not incur this performance overhead.

…egex by replace replaceAll() with replace(). ReplaceAll() costs some performance overhead by compiling the regex whereas replace() does not incur this performance overhead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant