On Fri, 8 Jul 2022 23:45:58 GMT, John Hendrikx <[email protected]> wrote:
>> Andy Goryachev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8289389: toExternalForm() > > modules/javafx.graphics/src/main/java/com/sun/javafx/css/CalculatedValue.java > line 101: > >> 99: } >> 100: return h; >> 101: } > > Just an example, but wouldn't: `Objects.hash(relative, origin, value)` here > work just as well? @hjohn: yes, but at a price: Object.hash(Object ...) incurs overhead by creating a temporary Object[] + boxing of a Boolean. ------------- PR: https://git.openjdk.org/jfx/pull/821
