Loading... (original) (raw)

Call to vectorizedMismatch and intrinsic usage seems costly when there is a mismatch at the first element itself. This work solves the problem by performing the first element comparison before the call to vectorizedMismatch method and eventually the intrinsic.

backported by

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8206510 Improve the Array Comparison when there is mismatch at first element.

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8206735 Improve the Array Comparison when there is mismatch at first element.

relates to

Enhancement - null JDK-8033148 Lexicographic comparators and mismatchers for arrays