Move digest path calculation out of loop
#33821

schneems wants to merge schneems:schneems/digester-no-array into rails:master

We do not currently have an analysis of these two commits