Re: PHP modules (pecl) and PHP codes (pear)
| From: | Patrick ALLAERT | Date: | Thu, 29 Oct 2009 16:37:05 +0000 |
| Subject: | Re: PHP modules (pecl) and PHP codes (pear) | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45899@lists.php.net to get a copy of this message | ||
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 !
(Reposting with ML included.)
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 ?
--
Patrick Allaert
---
http://code.google.com/p/peclapm/ - Alternative PHP
Monitor