php "compressor" - Page 2

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Re: php "compressor"

Michael Fesser schrieb:
Quoted text here. Click to load it

Thanks for the confirmation.


Ce n'est pas parce qu'ils sont nombreux avoir tort qu'ils ont raison!

Re: php "compressor"

Michael Fesser wrote:

Quoted text here. Click to load it

I dont know, but my autoloader is exactly this:

function _autoload($className) {
    @include str_replace('_', '/', $className) . '.php';

My classes are each in its own file, and the classnames contain
the package names: the class Game_Controller_Action is located
in the file Game/Controller/Action.php.

Quoted text here. Click to load it

I hope, i can kill the overhead of looking up files in the filesystem
and reading them. The server hosts several virtual hosts and i suspect
that the problem lies somewhere in this config. So i want to try to
get the disks out of the processing as much as possible and then see,
if the situation gets better.

Quoted text here. Click to load it

I have the xcache extension enabled.

 MfG, Christian Welzel aka Gawain@Regenbogen

  Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15

Re: php "compressor"

Quoted text here. Click to load it

1) what makes you think this will be faster?
2) What right order? For class definitions, it doesn't matter what
order they are declared in, only the order in which they are
instantiated (and you shouldn't instantiate objects inline within
include files)

Why don't you try a test case by hand and see if its any faster - I
suspect it won't be significantly different.


Site Timeline