Re: RFR: 8336856: Optimize String Concat [v5]

2024-07-24 Thread Shaojin Wen
On Tue, 23 Jul 2024 13:35:41 GMT, Claes Redestad wrote: >> Shaojin Wen has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains six commits: >> >> - Merge remote-tracking branch 'origin/optim_simple_concat_202407' into >> optim_concat_fa

Re: RFR: 8336856: Optimize String Concat [v5]

2024-07-23 Thread Claes Redestad
On Tue, 23 Jul 2024 12:22:57 GMT, Shaojin Wen wrote: >> The current implementation of StringConcat is to mix the coder and length >> into a long. This operation will have some overhead for int/long/boolean >> types. We can separate the calculation of the coder from the calculation of >> the le

Re: RFR: 8336856: Optimize String Concat [v5]

2024-07-23 Thread Shaojin Wen
> The current implementation of StringConcat is to mix the coder and length > into a long. This operation will have some overhead for int/long/boolean > types. We can separate the calculation of the coder from the calculation of > the length, which can improve the performance in the scenario of