SpoutDev/SpoutAPI — pull request #202 by Lauwenmark (2012-05-13 18:17:43+00:00)
Title: hashCode() optimization in math classes

This code changes the way hashCodes are computed in math classes (VectorX, Point, etc). Instead of re-instantiating a new hashCodeBuilder and recalculating the code at every call to .hashCode(), the value is instead once and for all determined upon object creation and stored in a private final int field. This will help giving some breath to the poor garbage collector :).