On Fri, 15 Sep 2023 18:04:29 GMT, Shaojin Wen <d...@openjdk.org> wrote:

> In the improvement of @cl4es PR #15591, the advantages of non-lookup-table 
> were discussed.
> 
> But if the input is byte[], using lookup table can improve performance.
> 
> For HexFormat#formatHex(Appendable, byte[]) and HexFormat#formatHex(byte[]), 
> If the length of byte[] is larger, the performance of table lookup will be 
> improved more obviously.

This pull request has now been integrated.

Changeset: 93554314
Author:    wenshao <shaojin.we...@alibaba-inc.com>
Committer: Claes Redestad <redes...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/935543146b23f22a73e14c6789cf73db7c3d466b
Stats:     82 lines in 3 files changed: 55 ins; 13 del; 14 mod

8316426: Optimization for HexFormat.formatHex

Reviewed-by: liach, rriggs

-------------

PR: https://git.openjdk.org/jdk/pull/15768

Reply via email to