The minted package calculates a hash on the input and uses cashed results in the case of a match. This speeds up compilation.