[hibernate-commits] [hibernate/hibernate-validator] 0bff25: HV-1533 Improve the performances of the LocalizedM...
GitHub
noreply at github.com
Tue Dec 12 09:55:18 EST 2017
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-validator
Commit: 0bff2580ef63b828866a7dc33e9d455efca480e9
https://github.com/hibernate/hibernate-validator/commit/0bff2580ef63b828866a7dc33e9d455efca480e9
Author: Guillaume Smet <guillaume.smet at gmail.com>
Date: 2017-12-12 (Tue, 12 Dec 2017)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/LocalizedMessage.java
Log Message:
-----------
HV-1533 Improve the performances of the LocalizedMessage map
It's especially useful in the relatively common case where the locale is
always the same but the message keys are different.
Commit: aaf95527413b5faf43f9349c0804af3dcb02b1f2
https://github.com/hibernate/hibernate-validator/commit/aaf95527413b5faf43f9349c0804af3dcb02b1f2
Author: Guillaume Smet <guillaume.smet at gmail.com>
Date: 2017-12-12 (Tue, 12 Dec 2017)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintTree.java
Log Message:
-----------
HV-1533 Early exit of ConstraintTree#mainConstraintNeedsEvaluation() if no violations
Commit: 4eac84a8a2f88d5fd9a7544385cc8eb7d9609666
https://github.com/hibernate/hibernate-validator/commit/4eac84a8a2f88d5fd9a7544385cc8eb7d9609666
Author: Guillaume Smet <guillaume.smet at gmail.com>
Date: 2017-12-12 (Tue, 12 Dec 2017)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorImpl.java
Log Message:
-----------
HV-1533 Avoid using the CollectionHelper helper to initialize a map
Apparently, it prevents the compiler from applying some optimizations.
Reported by John O'Hara.
Compare: https://github.com/hibernate/hibernate-validator/compare/130fcf16ac91...4eac84a8a2f8
More information about the hibernate-commits
mailing list