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.
You can merge this Pull Request by running: git pull https://github.com/lgritz/oiio lg-invalidate Or you can view, comment on it, or merge it online at: https://github.com/OpenImageIO/oiio/pull/226 -- Commit Summary -- * Minor IC/TS optimization: invalidate_all previously cleared all fingerprint -- File Changes -- M src/libtexture/imagecache.cpp (23) -- Patch Links -- https://github.com/OpenImageIO/oiio/pull/226.patch https://github.com/OpenImageIO/oiio/pull/226.diff --- Reply to this email directly or view it on GitHub: https://github.com/OpenImageIO/oiio/pull/226 _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
