From e2ea9a7319c2d7f84d174cf76524c9b92c1541d1 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 12 Feb 2014 11:42:27 +0400 Subject: Use better data structures (incomplete) --- Zend/zend_alloc.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Zend/zend_alloc.h') diff --git a/Zend/zend_alloc.h b/Zend/zend_alloc.h index bd1765f7ff..e9c6100593 100644 --- a/Zend/zend_alloc.h +++ b/Zend/zend_alloc.h @@ -161,12 +161,6 @@ ZEND_API size_t zend_memory_peak_usage(int real_usage TSRMLS_DC); END_EXTERN_C() -/* fast cache for zval's */ -//???#define ALLOC_ZVAL(z) (z) = (zval *) emalloc(sizeof(zval)) -//???#define FREE_ZVAL(z) efree_rel(z) -//???#define ALLOC_ZVAL_REL(z) (z) = (zval *) emalloc_rel(sizeof(zval)) -//???#define FREE_ZVAL_REL(z) efree_rel(z) - /* fast cache for HashTables */ #define ALLOC_HASHTABLE(ht) \ (ht) = (HashTable *) emalloc(sizeof(HashTable)) -- cgit v1.2.1