mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- 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:
parent
8b1901148f
commit
72160071f9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue