RFR: 8291598: Matcher.appendReplacement should not create new StringBuilder instances [v3]

Raffaello Giulietti rgiulietti at openjdk.org
Tue Mar 28 11:57:33 UTC 2023


On Wed, 15 Mar 2023 20:01:05 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

>> Remove instantiation of `StringBuilder`
>
> Raffaello Giulietti has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8291598: Matcher.appendReplacement should not create new StringBuilder instances
>   
>   Removed other allocations of StringBuilder when processing named groups in replacement string.

Waiting for other comments and review

-------------

PR Comment: https://git.openjdk.org/jdk/pull/13048#issuecomment-1486727782


More information about the core-libs-dev mailing list