Author: jmorlan
Date: Thu Mar 26 09:32:14 2009
New Revision: 40249
URL:
http://svn.reactos.org/svn/reactos?rev=40249&view=rev
Log:
- Add another heap freelist for small blocks, making mingw32-make about 100 times faster
at loading makefile.auto
Modified:
trunk/reactos/lib/rtl/heap.c
Modified: trunk/reactos/lib/rtl/heap.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/heap.c?rev=40249&a…
==============================================================================
--- trunk/reactos/lib/rtl/heap.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/heap.c [iso-8859-1] Thu Mar 26 09:32:14 2009
@@ -105,12 +105,12 @@
/* 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