Re: [PHP-DEV] Algorithmic efficiency of zend_memrchr

2016-11-03 Thread Nikita Popov
On Thu, Nov 3, 2016 at 2:33 PM, Benjamin Coutu wrote: > The type qualifier is just copy paste relic. We'd of course have to remove > const form the signature (and the function body) for this to work. Quickly > looking at zend_memrchr's call sites I don't see that it would be a huge > issue to mod

Re: [PHP-DEV] Algorithmic efficiency of zend_memrchr

2016-11-03 Thread Benjamin Coutu
== Original == From: Levi Morrison To: Benjamin Coutu Date: Thu, 03 Nov 2016 13:23:23 +0100 Subject: Re: [PHP-DEV] Algorithmic efficiency of zend_memrchr > > > On Thu, Nov 3, 2016 at 5:21 AM, Benjamin Coutu wrote: > > Hello everyone, > > > > I think there ar

Re: [PHP-DEV] Algorithmic efficiency of zend_memrchr

2016-11-03 Thread Levi Morrison
On Thu, Nov 3, 2016 at 5:21 AM, Benjamin Coutu wrote: > Hello everyone, > > I think there are a few improvements that we could make to some fundamental > algorithms. > I'd like to point out one particular for now, to see if there is any interest > in these kind of low level code optimizations fr