Re: [PHP4BETA] resource-handling....
| From: | Zeev Suraski | Date: | Sun, 25 Apr 1999 23:26:56 +0000 |
| Subject: | Re: [PHP4BETA] resource-handling.... | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-521@lists.php.net to get a copy of this message | ||
At 14:08 25/04/99 +0200, Thies C. Arntzen wrote:
>desctructor routine in a zval (add another 32/64 bits to zval), and php4
>would call that to "clean-up"....
As a rule, forget about adding a single bit to zval. Huge performance loss
in both speed and memory.
>(could be that i've overseen something, i'm right now not sure if i'm a
>pointer or a handle;-)....
Probably. There's nothing special about list and plist, except for the
fact that they handle reference counting and destruction for you. You can
implement it yourself, easily, using Zend's standard hash tables...
Zeev
--
Zeev Suraski <zeev@zend.com> http://www.zend.com/
For a PGP public key, finger bourbon@netvision.net.il
--
PHP 4 Beta