Re: cvs: php-src /ext/standard basic_functions.c
| From: | Marcus Boerger | Date: | Wed, 14 Sep 2005 14:35:00 +0000 |
| Subject: | Re: cvs: php-src /ext/standard basic_functions.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-33948@lists.php.net to get a copy of this message | ||
Hello Ilia,
ilia, only as long as refcount = 1! If not it will be thousad times
slower. Again another reaason i wanted to have const passing!
marcus
Wednesday, September 14, 2005, 4:11:10 PM, you wrote:
> Dmitry Stogov wrote:
>> Are you sure?
>> Passing by value may copy whole array.
> It makes the functions a TINY bit slower 0.06 seconds for 1000000
> itterations, but makes it possible to pass return values of functions
> that return arrays.
> Ilia
Best regards,
Marcus