On Sun, 29 Jan 2023 16:07:08 GMT, Peter Levart wrote:
>> Christian Wimmer has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Add comment about method inlining
>
> Hi Christian, I can sponsor to pull this change if you like.
@plevart yes p
On Mon, 9 Jan 2023 20:04:34 GMT, Christian Wimmer wrote:
>> The method `String.split` contains a fast-path when the regular expression
>> parameter is not really a regular expression, but just a single split
>> character.
>> This fast path vs. slow path check can be constant folded when the reg
On Mon, 9 Jan 2023 20:04:34 GMT, Christian Wimmer wrote:
>> The method `String.split` contains a fast-path when the regular expression
>> parameter is not really a regular expression, but just a single split
>> character.
>> This fast path vs. slow path check can be constant folded when the reg
On Mon, 9 Jan 2023 20:04:34 GMT, Christian Wimmer wrote:
>> The method `String.split` contains a fast-path when the regular expression
>> parameter is not really a regular expression, but just a single split
>> character.
>> This fast path vs. slow path check can be constant folded when the reg
On Mon, 9 Jan 2023 20:04:34 GMT, Christian Wimmer wrote:
>> The method `String.split` contains a fast-path when the regular expression
>> parameter is not really a regular expression, but just a single split
>> character.
>> This fast path vs. slow path check can be constant folded when the reg
On Wed, 28 Dec 2022 20:42:15 GMT, Sergey Tsypanov wrote:
> Is there any benchmark proving the benefit?
The Graal compiler can do the inlining and constant folding. That is especially
important when doing AOT compilation as part of GraalVM Native Image builds, in
which case the regular expressi
On Tue, 27 Dec 2022 23:36:52 GMT, Ismael Juma wrote:
>> Christian Wimmer has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Add comment about method inlining
>
> src/java.base/share/classes/java/lang/String.java line 3133:
>
>> 3131:
> The method `String.split` contains a fast-path when the regular expression
> parameter is not really a regular expression, but just a single split
> character.
> This fast path vs. slow path check can be constant folded when the regular
> expression parameter is a literal constant - a quite fr
On Tue, 27 Dec 2022 20:12:51 GMT, Christian Wimmer wrote:
> The method `String.split` contains a fast-path when the regular expression
> parameter is not really a regular expression, but just a single split
> character.
> This fast path vs. slow path check can be constant folded when the regula
On Tue, 27 Dec 2022 20:12:51 GMT, Christian Wimmer wrote:
> The method `String.split` contains a fast-path when the regular expression
> parameter is not really a regular expression, but just a single split
> character.
> This fast path vs. slow path check can be constant folded when the regula
The method `String.split` contains a fast-path when the regular expression
parameter is not really a regular expression, but just a single split character.
This fast path vs. slow path check can be constant folded when the regular
expression parameter is a literal constant - a quite frequent patt
11 matches
Mail list logo