[pLog-svn] The use of constants

Ammar Ibrahim ammar.ibrahim at gmail.com
Mon Apr 23 03:20:54 EDT 2007


The other day I profiled LifeType, I'm using the 1.0.x branch. To my
surprise most of the execution time of the script was spent on defining
constants! I thought this is insane. One of my friends is a core PHP
developer, I told him about my findings, and he wasn't surprised. he
explained to me that define() is very slow. LifeType has so many constants,
what do you think can be done with regards to this issue?


- Ammar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://limedaley.com/pipermail/plog-svn/attachments/20070423/8dc1b04b/attachment.htm 


More information about the pLog-svn mailing list