Re: cvs: php4 /ext/standard var.c
| From: | Sascha Schumann | Date: | Sun, 05 Aug 2001 02:11:00 +0000 |
| Subject: | Re: cvs: php4 /ext/standard var.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-6562@lists.php.net to get a copy of this message | ||
Thanks for cleaning this up.
> - no leak on calling __wakeup (also saved 2* malloc & free)
My earlier tests showed that INIT_PZVAL on a zval on the
stack vs MAKE_STD_ZVAL/FREE_ZVAL was actually slower by a
couple percent. This is probably due to cache effects
(accessing the zval on the stack will usually cause a cache
line to be refilled, while zvals from the fast cache have
better locality).
- Sascha Experience IRCG
http://schumann.cx/ http://schumann.cx/ircg