Re: RFR: 8338930: StringConcatFactory static string concatenation strategy

2024-08-25 Thread Claes Redestad
On Thu, 22 Aug 2024 11:50:02 GMT, Shaojin Wen wrote: > This is a follow-up to PR #20273, which improves performance when the number > of parameters exceeds 20. > > When the number of parameters is large, the possibility of reuse will be > lower, so we can use the static concat method and write

Re: RFR: 8338930: StringConcatFactory static string concatenation strategy

2024-08-25 Thread Shaojin Wen
On Thu, 22 Aug 2024 11:50:02 GMT, Shaojin Wen wrote: > This is a follow-up to PR #20273, which improves performance when the number > of parameters exceeds 20. > > When the number of parameters is large, the possibility of reuse will be > lower, so we can use the static concat method and write

AW: RFR: 8338930: StringConcatFactory static string concatenation strategy

2024-08-24 Thread Markus Karg
06:34 An: core-libs-dev@openjdk.org Betreff: Re: RFR: 8338930: StringConcatFactory static string concatenation strategy On Thu, 22 Aug 2024 11:50:02 GMT, Shaojin Wen wrote: > This is a follow-up to PR #20273, which improves performance when the number > of parameters exceeds 20. > &

Re: RFR: 8338930: StringConcatFactory static string concatenation strategy

2024-08-24 Thread ExE Boss
On Thu, 22 Aug 2024 11:50:02 GMT, Shaojin Wen wrote: > This is a follow-up to PR #20273, which improves performance when the number > of parameters exceeds 20. > > When the number of parameters is large, the possibility of reuse will be > lower, so we can use the static concat method and write

Re: RFR: 8338930: StringConcatFactory static string concatenation strategy

2024-08-24 Thread Shaojin Wen
On Thu, 22 Aug 2024 11:50:02 GMT, Shaojin Wen wrote: > This is a follow-up to PR #20273, which improves performance when the number > of parameters exceeds 20. > > When the number of parameters is large, the possibility of reuse will be > lower, so we can use the static concat method and write

RFR: 8338930: StringConcatFactory static string concatenation strategy

2024-08-24 Thread Shaojin Wen
This is a follow-up to PR #20273, which improves performance when the number of parameters exceeds 20. When the number of parameters is large, the possibility of reuse will be lower, so we can use the static concat method and write the length and coder directly into the bytecode to solve the pe