Re: Re: Phpdocumentor memory usage
| From: | Tal Peer | Date: | Thu, 20 Mar 2003 20:04:34 +0000 |
| Subject: | Re: Re: Phpdocumentor memory usage | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-14504@lists.php.net to get a copy of this message | ||
On Thu, 20 Mar 2003, Greg Beaver wrote:
> Hi Tal,
>
> This is a consideration I've thought about. Unfortunately, I don't know
> C as well as PHP, although I'm trying to get a handle on how the
> internals of PHP work, and don't have a unix platform at home to play
> around with it. I also have no facility to compile C code on windows
> (meaning no big $$$ to buy msvc or equivalent), but these problems won't
> stop us from accepting help from users who have a C compiler or more C
> experience, so that is a good idea, even if only the most
> memory-intensive sections are written in C, and the converters are
> written in PHP, which would work nicely for extensibility.
>
I'm willing to help.
I think that making the memory eating parts an extension and leaving the
lighter stuff in userland is indeed thr right solution.
We need to do some profiling on the source to get the whole picture.
Tal
> Greg
>
> Tal Peer wrote:
>
> >You could rewrite it in C (still the memory signature will be big, but not
> >as big as now, since zvals are bigger than char ** :)
> >
> >
>
>
--
Tal Peer
tal@php.net