When comparing two large directory structures, one of which was
originally copied from the other with timestamps preserved (e.g.,
with ‘cp -pR’), it would greatly improve performance if an option
diff to assume that two files with the same size and
timestamps have the same content. See diff Performance.