Clone
Cédric Champeau
committed
on 20 Jan 17
Avoid usage of `EqualsBuilder`
Calling `getGenericParameterTypes` is very expensive, and usage of `EqualsBuilder` implies calling the method… Show more
Avoid usage of `EqualsBuilder`

Calling `getGenericParameterTypes` is very expensive, and usage of `EqualsBuilder` implies calling the methods

even if they shouldn't be. This reworks the algorithm to avoid use of equals builder, and also changes the

generated hash code to use parameter types instead of generic parameter types.

This shaves a few ms for cold daemon startup (first use case, or `--no-daemon`).

Show less

master + 533 more