Re: Name for new function
| From: | Derick Rethans | Date: | Sun, 16 Jul 2000 15:47:51 +0000 |
| Subject: | Re: Name for new function | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24663@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
> Zeev Suraski wrote:
>
> > Don't you think this sort of emulation belongs in user space scripts? It'd
> > be much less prone to bugs.
>
> It could be more prone to bugs, but I think that's not a great problem. I tried
> to write the code as clean as possible. However, I think that this approach is
> much faster then emulation in user space. I'll run some tests tomorrow. I'll
> post the results on the list.
>
It seems that the function written in C code is about 15-20% faster than the
implementation in user-space PHP. I think it's significant enough. My plan is to
commit the patch to cvs within a few days. (I have to do some tweaking at some
places).
--
Derick Rethans
JDI Media Solutions
H.v.Tussenbroekstraat 1
6952 BL Dieren
The Netherlands
e-mail: d.rethans@jdimedia.nl
http://www.jdimedia.nl/