Re: [PHP-DEV] Small performance improvement on main/rfc1867.c

2012-04-03 Thread Laruence
Hi: On Tue, Apr 3, 2012 at 9:56 AM, Klaus Silveira wrote: > Just submitted a small patch here: https://github.com/php/php-src/pull/34 > > I had sent this before to gr...@php.net, before the GIT migration. Small > fix really. The current code is correct, but if it is used inside a long > loop or l

[PHP-DEV] Small performance improvement on main/rfc1867.c

2012-04-02 Thread Klaus Silveira
Just submitted a small patch here: https://github.com/php/php-src/pull/34 I had sent this before to gr...@php.net, before the GIT migration. Small fix really. The current code is correct, but if it is used inside a long loop or long strings, it's inefficient.