> Color.web(string, double) parses a color string by creating substrings of the > input. These string allocations can be removed. > > CSS numbers are parsed by `CssNumberParser`, which parses CSS-compliant > numbers using Lemire's algorithm. > > There are no new tests for the `Color` class, since the existing tests > already cover all relevant code paths.
Michael Strauß has updated the pull request incrementally with one additional commit since the last revision: add test ------------- Changes: - all: https://git.openjdk.org/jfx/pull/2069/files - new: https://git.openjdk.org/jfx/pull/2069/files/48d1e0fc..9516ebcc Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=2069&range=08 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=2069&range=07-08 Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jfx/pull/2069.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2069/head:pull/2069 PR: https://git.openjdk.org/jfx/pull/2069
