Re: RFR: 8359424: Eliminate table lookup in Integer/Long toHexString [v2]

2025-06-14 Thread Shaojin Wen
> In PR #22928, UUID introduced long-based vectorized hexadecimal to string > conversion, which can also be used in Integer::toHexString and > Long::toHexString to eliminate table lookups. The benefit of eliminating > table lookups is that the performance is better when cache misses occur. Shao

Re: RFR: 8359123: Misleading examples in jmod man page [v2]

2025-06-14 Thread Ana Maria Mihalceanu
On Fri, 13 Jun 2025 17:07:20 GMT, Iris Clark wrote: >> Ana Maria Mihalceanu has updated the pull request incrementally with two >> additional commits since the last revision: >> >> - Fix whitespaces. >> - Update description of commands as per code review > > src/jdk.jlink/share/man/jmod.md li

Re: RFR: 8359123: Misleading examples in jmod man page [v2]

2025-06-14 Thread Ana Maria Mihalceanu
> Please review my PR. This PR includes the following: > > - [x] Fix a small typo in a word and copyright. > - [x] Enhance description for `--target-platform`. > - [x] Rearrange `jmod create` example from basic to complex. Ana Maria Mihalceanu has updated the pull request incrementally with two

Re: RFR: 8359424: Eliminate table lookup in Integer/Long toHexString

2025-06-14 Thread ExE Boss
On Tue, 7 Jan 2025 10:39:18 GMT, Shaojin Wen wrote: > In PR #22928, UUID introduced long-based vectorized hexadecimal to string > conversion, which can also be used in Integer::toHexString and > Long::toHexString to eliminate table lookups. The benefit of eliminating > table lookups is that th

Re: RFR: 8347009: Speed ​​up parseInt and parseLong [v22]

2025-06-14 Thread Shaojin Wen
> This is an optimization for decimal Integer.parseInt and Long.parseLong, > which improves performance by about 10%. The optimization includes: > 1. Improve performance by parsing 2 numbers at a time, which has performance > improvements for numbers with length >= 3. > 2. It uses charAt(0) for t

Integrated: 8358804: Improve the API Note of BigDecimal.valueOf(double)

2025-06-14 Thread Raffaello Giulietti
On Fri, 13 Jun 2025 15:21:38 GMT, Raffaello Giulietti wrote: > Documenting a suggestion for `float` arguments. This pull request has now been integrated. Changeset: 26848a7d Author:Raffaello Giulietti URL: https://git.openjdk.org/jdk/commit/26848a7d6ce4c573b679a690fd36e6d7082243f6

Re: RFR: 8358804: Improve the API Note of BigDecimal.valueOf(double) [v2]

2025-06-14 Thread Iris Clark
On Fri, 13 Jun 2025 21:46:42 GMT, Raffaello Giulietti wrote: >> Documenting a suggestion for `float` arguments. > > Raffaello Giulietti has updated the pull request incrementally with one > additional commit since the last revision: > > Suggestion by reviewer. Marked as reviewed by iris (Re