- Add another heap freelist for small blocks, making mingw32-make about 100 times faster at loading makefile.auto

svn path=/trunk/; revision=40249
This commit is contained in:
Jeffrey Morlan 2009-03-26 06:32:14 +00:00
parent 8b1901148f
commit 72160071f9

View file

@ -105,12 +105,12 @@ typedef struct tagARENA_FREE
/* minimum size that must remain to shrink an allocated block */
#define HEAP_MIN_SHRINK_SIZE (HEAP_MIN_DATA_SIZE+sizeof(ARENA_FREE))
#define HEAP_NB_FREE_LISTS 4 /* Number of free lists */
#define HEAP_NB_FREE_LISTS 5 /* Number of free lists */
/* Max size of the blocks on the free lists */
static const DWORD HEAP_freeListSizes[HEAP_NB_FREE_LISTS] =
{
0x20, 0x80, 0x200, ~0UL
0x10, 0x20, 0x80, 0x200, ~0UL
};
typedef struct