> 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 two additional commits since the last revision: - long - check powers-of-five table ------------- Changes: - all: https://git.openjdk.org/jfx/pull/2069/files - new: https://git.openjdk.org/jfx/pull/2069/files/3a572430..4a9dde8c Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=2069&range=10 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=2069&range=09-10 Stats: 71 lines in 2 files changed: 69 ins; 0 del; 2 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
