[TYPO3-dev] Speedup of user-functions
Sebastian Kurfuerst
sebastian at garbage-group.de
Sun Jan 22 14:54:34 CET 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
during the integration of CSC, Ernesto has observed that if the object
is a USER cObject, it will be a lot slower than normal.
I have looked for anything which might relate to it... And it seems to
be in tslib_content::callUserFunction
call_user_func and call_user_method are used here. In a note on PHP.net
of call_user_func I found the following:
- --snip--
You should avoid this function and use variable function calls instead!
The main reason for this is the fact that you will generate twice as
many function calls as actually needed.
Thus, your server will encounter twice the load of function calls.
- --snip--
Can anybody confirm this? If this is an issue, we should change it to
use variable function calls. Are there any drawbacks with this?
Greets, Sebastian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFD046ZygDVWNTabbkRAqLZAJ9Cj6rxlyUTbe30c2CqlzZhs0cW7QCaAkfb
oyxSXDUiJIPSbLsoj2JTEfQ=
=FGDR
-----END PGP SIGNATURE-----
More information about the TYPO3-dev
mailing list