On Thu, Feb 12, 2009 at 12:03 AM, Nico Edtinger <n...@edtinger.at> wrote:
> A.J. Brown wrote:
>>
>> On Wed, Feb 4, 2009 at 8:22 AM, till <klimp...@gmail.com> wrote:
>>>
>>> Parsing an .ini is *very* expensive.
>
> Actually parsing an INI file should be faster than parsing PHP. The
> zend_ini_scanner.l is 8kB, while zend_language_scanner.l is 52kB, which
> alone shows, that it's more complex. The real difference is that opcode
> caches ignore INI files, so you need to do the caching yourself.

Did you actually try it?

Parsing XML through SimpleXML is like 20x faster than parsing an ini
format -- even though the library used will probably excel your 8kB
limit.

Till

Reply via email to