OpenImageIO/oiio — pull request #226 by lgritz (2012-02-09 06:26:45+00:00)
Title: Review: Minor IC/TS optimization with invalidate_all

invalidate_all previously cleared all fingerprint
info (that's what lets us detect duplicate texture files under different
names). This is too conservative. For invalidate_all(false), where we only
invalidate files that have been recently modified, there's no need to throw
out the fingerprints (thus making it impossible to detect further dups)
for the files that don't get invalidated. So now, we remove the individual
fingerprint as part of the invalidation of each file, instead of clearing
the entire fingerprint list.