Calculate a score for each hit.
Assign all hits a score of zero, for improved performance when scores are not required.