RFR: 8341566: Add Reader.of(CharSequence) [v10]
Markus KARG
duke at openjdk.org
Fri Oct 11 18:11:17 UTC 2024
On Fri, 11 Oct 2024 15:21:34 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> > I have slightly adapted the copy loop to allow CPUs to use solely single-operand INC within the loop instead of dual-operand ADD.
>
> Did you measure a performance improvement? Compiler optimizations are more productive than spot source changes.
No and I do not intent to do, as it was ja a code simplification I have seen, not an engineering target actively developed to reach max performance. Did you measure a performance drawback of the latest code? Maybe Compiler optimization is less productive in that particular case, due to the constraints mentioned?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21371#issuecomment-2407903343
More information about the core-libs-dev
mailing list