Re: PHP modules (pecl) and PHP codes (pear)
| From: | Samuel ROZE | Date: | Thu, 29 Oct 2009 16:58:55 +0000 |
| Subject: | Re: PHP modules (pecl) and PHP codes (pear) | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45900@lists.php.net to get a copy of this message | ||
Le jeudi 29 octobre 2009 à 17:35 +0100, Patrick ALLAERT a écrit :
> 2009/10/29 Samuel ROZE <samuel.roze@gmail.com>:
> > Le jeudi 29 octobre 2009 à 14:03 +0300, Alexey Zakhlestin a écrit :
> >> Usually, it is a good idea to write it in PHP at first and then port
> >> to C, if performance is poor
> >
> > But I lose some time !
>
> Yes, but as far as a PHP extension may take hundreds time to develop
> than a PHP function.
> If the PHP version is fast enough, you will win a huge amount of time,
> if not, you will only lose less than 1% of the overall dev time.
> The computation is quite easy.
>
> What is your reqs/second target ?
>