aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo
diff options
context:
space:
mode:
authorFabian Lange <lange.fabian@gmail.com>2015-03-02 12:16:19 +0100
committerVaadin Code Review <review@vaadin.com>2015-03-02 13:44:28 +0000
commitcc8829ccf3a2acd6919dfb7c7afd2385daaa11a0 (patch)
treeba03ca0edc21b09dc46695fc990b30eb4afdda5f /WebContent/VAADIN/themes/valo
parent3397a649b5a0b39df322b92dab50dd256e3fcaac (diff)
downloadvaadin-framework-cc8829ccf3a2acd6919dfb7c7afd2385daaa11a0.tar.gz
vaadin-framework-cc8829ccf3a2acd6919dfb7c7afd2385daaa11a0.zip
Improve performance of Util.collectionEquals (#16968).
This change checks the length of both collections first before iterating them. This massively speeds up the comparison in case the collections do not have the same length. Also in the case where the lengths are equal, this saves the collection2.hasNext() checks. Change-Id: If1325f3581d12bf742d77fbf8b0f89511fa11252
Diffstat (limited to 'WebContent/VAADIN/themes/valo')
0 files changed, 0 insertions, 0 deletions