Improved performance of equals method that checks for equality of TimeBucketKey for use in Maps.