[PHP-DEV] case folding array string keys

2008-06-16 Thread Dave Lee
Hi, I have a patch that I'm hoping might be useful to PHP developers, at least those using PostgreSQL. The patch provides case folding of string keys during hash lookups. The need for this comes from ... We're transitioning from MySQL to PostgreSQL, and like many, we use camel casing for naming

Re: [PHP-DEV] case folding array string keys

2008-06-16 Thread Christopher Jones
Dave Lee wrote: Hi, I have a patch that I'm hoping might be useful to PHP developers, at least those using PostgreSQL. The patch provides case folding of string keys during hash lookups. The need for this comes from ... My question to the list is, can this functionality be added in a way

Re: [PHP-DEV] case folding array string keys

2008-06-16 Thread Dave Lee
On Mon, Jun 16, 2008 at 2:06 PM, Christopher Jones [EMAIL PROTECTED] wrote: Oracle columns names are similarly case insensitive - unless the table was created with quoted column names. Users can see similar issues. So same needs as as PostgreSQL. However, what about creating an RFC on the

Re: [PHP-DEV] case folding array string keys

2008-06-16 Thread Christopher Jones
Dave Lee wrote: I haven't benchmarked. I haven't looked, maybe you could tell me, are there standard PHP benchmarks? If not I'll run some basic ones and post the results here. Try the basic test Zend/benchmark.php. Ideally, you'd create some specific tests that stress the changed code.