new manual chapter suggestion
| From: | Hojtsy Gabor | Date: | Sun, 29 Jul 2001 16:41:50 +0000 |
| Subject: | new manual chapter suggestion | ||
| Groups: | php.dev php.doc | ||
| Request: | Send a blank email to php-dev+get-61366@lists.php.net to get a copy of this message | ||
Hi!
I think somebody with a closer experience with the
PHP C sources maybe can collect some performance tips,
like the ones we can catch on the various PHP lists:
- use echo "aaa" , "bbb", "ccc" instead of echo "aaa" .
"bbb" . "ccc"
because with the later you use more memory [Jim]
- echo is a little bit faster then print [Rasmus]
- preg_*()-s are also faster than ereg()-s [Rasmus]
- use mysql_unbuffered_query() [Manual]
This would make a new chapter, with some nifty tips
about how you can improve the performance of your
programs.
I am not the person, who can start this chapter, but
maybe some PHP-dev gurus :)
Goba