[pLog-svn] The use of constants

Ammar Ibrahim ammar.ibrahim at gmail.com
Mon Apr 23 06:57:45 EDT 2007


On 4/23/07, Mark Wu <markplace at gmail.com> wrote:
>
>  mmm...
>
> If it is true, I think the "event definition list" & "dao cache defintion"
> takes the most of the time.
>
> I don't like global variable, but it seems a good idea.
>

I don't like globals as well, they are a bad software engineering practice.
But if they are faster, I don't care.

A wrapper class using static ...  mmmm ... I afriad it will takes longer
> time then definition. Not sure.
>

Benchmark and let us know :) but use PHP5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://limedaley.com/pipermail/plog-svn/attachments/20070423/9a67a377/attachment-0001.htm 


More information about the pLog-svn mailing list