readfile: disable delayed data reading for WIN32

Seeking the file causes slow down on Windows.

Resolves T61855
This commit is contained in:
Campbell Barton 2019-02-23 09:21:12 +11:00
parent 655faca105
commit 779860d34e

@ -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