Faster hashCode() implementation for ObjectId