Optimized the way that dependency checkums are computed.