[pLog-svn] The use of constants

Reto Hugi plog at hugi.to
Mon Apr 23 08:33:13 EDT 2007


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

well, we do. Else we wouldn't do OO programming. sometimes it's worth to
sacrifice speed over

> Benchmark and let us know :) but use PHP5

Things you should know and keep in mind during the performance tests:

- most or at least a significiant amount of users have php4 not php5.
that's why we provide backward compliance. we won't implement
improvements that brake the compliance.

- we are not really interested in improvements other versions than
lifetype 1.2 as this is the version we support.

- inlude_once was replaced with lt_include in 1.2 to improve performance
(lt_include does not lead to file access operations on every call -
there might be more to it, but that's what I remember...)


More information about the pLog-svn mailing list