Re: cvs: pecl /tidy tidy.c
| From: | Ilia Alshanetsky | Date: | Wed, 17 Dec 2003 15:39:51 +0000 |
| Subject: | Re: cvs: pecl /tidy tidy.c | ||
| References: | 1 | Groups: | php.pecl.cvs |
| Request: | Send a blank email to pecl-cvs+get-589@lists.php.net to get a copy of this message | ||
On December 17, 2003 05:00 am, Andi Gutmans wrote:
> I don't understand this. You should always be using emalloc/efree even
> without memory limit because it's PHP's safety net for per-request leaks.
> It would be really bad if you're using malloc/free.
I have confirmed on numerous files that libtidy does not leak (valgrind), so
there is not advantage of using Zend allocation macros. More over using them
results in 10-15% increase in memory usage and performance drop of roughly
100%.
Ilia