Commit: 779860d34e26bedfb24904bc6261db5cbe9afdbf Author: Campbell Barton Date: Sat Feb 23 09:21:12 2019 +1100 Branches: master https://developer.blender.org/rB779860d34e26bedfb24904bc6261db5cbe9afdbf
readfile: disable delayed data reading for WIN32 Seeking the file causes slow down on Windows. Resolves T61855 =================================================================== M source/blender/blenloader/intern/readfile.c =================================================================== diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index ec30ccd7517..ca36deeaa80 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -225,7 +225,9 @@ /** * Delay reading blocks we might not use (especially applies to library linking). * which keeps large arrays in memory from data-blocks we may not even use. */ -#define USE_BHEAD_READ_ON_DEMAND +#if !defined(_WIN32) /* Slow on windows, see: T61855 */ +# define USE_BHEAD_READ_ON_DEMAND +#endif /* use GHash for BHead name-based lookups (speeds up linking) */ #define USE_GHASH_BHEAD _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
