On Sun, 8 Feb 2026 04:24:33 GMT, Michael Strauß <[email protected]> wrote:

> Color.web(string, double) parses a color string by creating substrings of the 
> input. Almost all of these string allocations can be removed, except for an 
> invocation of `Double.parseDouble(String)`, which doesn't have an overload 
> that accepts a sub-range of the input string.
> 
> There are no new tests for this enhancement, since the existing tests already 
> cover all relevant code paths.

+1

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

PR Comment: https://git.openjdk.org/jfx/pull/2069#issuecomment-3874340681

Reply via email to