diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-02-12 11:42:27 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-02-12 11:42:27 +0400 |
commit | e2ea9a7319c2d7f84d174cf76524c9b92c1541d1 (patch) | |
tree | 9b6d703922d75780bc2bb51a9d6512696bffb3af /Zend/zend_alloc.h | |
parent | 0c0efba45f7fa942f0df7800c825209553213f2e (diff) | |
download | php-git-e2ea9a7319c2d7f84d174cf76524c9b92c1541d1.tar.gz |
Use better data structures (incomplete)
Diffstat (limited to 'Zend/zend_alloc.h')
-rw-r--r-- | Zend/zend_alloc.h | 6 |
1 files changed, 0 insertions, 6 deletions
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)) |