diff options
author | Andi Gutmans <andi@php.net> | 2000-05-18 11:25:03 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-05-18 11:25:03 +0000 |
commit | a786fc4ab7c40f82cbdbb352392eb196177edfb1 (patch) | |
tree | 966ac9b2ce24efd0eb275a42867c39658da5d628 /Zend/zend_alloc.c | |
parent | b458902704a67a490689d28a82ad41517ea946d0 (diff) | |
download | php-git-a786fc4ab7c40f82cbdbb352392eb196177edfb1.tar.gz |
- Do this someplace else.
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r-- | Zend/zend_alloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 2b1034eab1..c023c6e16f 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -338,6 +338,7 @@ ZEND_API void start_memory_manager(ALS_D) memset(AG(fast_cache_list_head), 0, sizeof(AG(fast_cache_list_head))); memset(AG(cache_count),0,MAX_CACHED_MEMORY*sizeof(unsigned char)); +#if 0 /* Initialize cache, to prevent fragmentation */ for (i=1; i<MAX_CACHED_MEMORY; i++) { for (j=0; j<MAX_CACHED_ENTRIES; j++) { @@ -349,6 +350,7 @@ ZEND_API void start_memory_manager(ALS_D) efree(cached_entries[i][j]); } } +#endif } |