cvs: ZendEngine2 / zend_alloc.c
[email protected] ("Dmitry Stogov")
| Newsgroups | php.zend-engine.cvs |
|---|---|
| Message-ID | <cvsdmitry1201177308@cvsserver> |
dmitry Thu Jan 24 12:21:48 2008 UTC
Modified files:
/ZendEngine2 zend_alloc.c
Log:
Increased Zend MM cache size
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.210&r2=1.211&diff_format=u
Index: ZendEngine2/zend_alloc.c
diff -u ZendEngine2/zend_alloc.c:1.210 ZendEngine2/zend_alloc.c:1.211
--- ZendEngine2/zend_alloc.c:1.210 Mon Dec 31 07:12:06 2007
+++ ZendEngine2/zend_alloc.c Thu Jan 24 12:21:48 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_alloc.c,v 1.210 2007/12/31 07:12:06 sebastian Exp $ */
+/* $Id: zend_alloc.c,v 1.211 2008/01/24 12:21:48 dmitry Exp $ */
#include "zend.h"
#include "zend_alloc.h"
@@ -410,7 +410,7 @@
#define ZEND_MM_NUM_BUCKETS (sizeof(size_t) << 3)
#define ZEND_MM_CACHE 1
-#define ZEND_MM_CACHE_SIZE (ZEND_MM_NUM_BUCKETS * 2 * 1024)
+#define ZEND_MM_CACHE_SIZE (ZEND_MM_NUM_BUCKETS * 4 * 1024)
#ifndef ZEND_MM_CACHE_STAT
# define ZEND_MM_CACHE_STAT 0