raise AALLOC_INITSZ to be less expensive

This commit is contained in:
tg 2008-11-12 05:46:14 +00:00
parent 18b38ac5c7
commit b08956d6a7
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/aalloc.c,v 1.9 2008/11/12 05:45:28 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/aalloc.c,v 1.10 2008/11/12 05:46:14 tg Exp $");
/* mksh integration of aalloc */
@ -30,7 +30,7 @@ __RCSID("$MirOS: src/bin/mksh/aalloc.c,v 1.9 2008/11/12 05:45:28 tg Exp $");
#define PVMASK (sizeof (void *) - 1)
#ifndef AALLOC_INITSZ
#define AALLOC_INITSZ 64 /* must hold at least 4 pointers */
#define AALLOC_INITSZ (64 * PVALIGN) /* at least 4 pointers */
#endif
typedef /* unsigned */ ptrdiff_t TCookie;