Performance
| From: | Pupeno | Date: | Sat, 16 Nov 2002 01:03:29 +0000 |
| Subject: | Performance | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-124681@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm very intresting in achiving high performances with my scripts.
I have a couple of questions about performance.
When passing arrays (they are not very huge anyway) to a function, passing
them as reference is faster, isn't it ?
And when I have a chain of ifs, is ti better (from the performance point of
view) to change it for a switch ?
And by the way, do you know of any documents related to performance in PHP ?
Thank you.
- --
Pupeno: pupeno@pupeno.com
http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE91ZljLr8z5XzmSDQRAmIEAJoCvB/jpYbwkXjc1tjqY4+sNON4TQCePEoT
EZkh5dHGguO8C4J5MRppQTo=
=bi6p
-----END PGP SIGNATURE-----