Date: 07/30/01
- Next message: Damien Seguy: "[PHP-DOC] cvs: phpdoc /en/appendices aliases.xml"
- Previous message: Damien Seguy: "[PHP-DOC] cvs: phpdoc /fr/functions ftp.xml"
- In reply to: Alexander Merz: "[PHP-DOC] Re: [PHP-DEV] new manual chapter suggestion"
- Next in thread: Alexander Merz: "[PHP-DOC] Re: [PHP-DEV] new manual chapter suggestion"
- Reply: Alexander Merz: "[PHP-DOC] Re: [PHP-DEV] new manual chapter suggestion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > - 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]
> > This would make a new chapter, with some nifty tips
> > about how you can improve the performance of your
> > programs.
>
> I see some sources, where beginners used twenty str_replace's instead of
one
> preg_replace, because somebody said to them str_replace is faster then
> preg_replace...
OK, you intentionally left out mysql_unbuffered_query() from
the list. What about some general collection of "not that
assembler type" performance tips, like:
- when to use unbuffered queries
- when to use str functions instead of regs
- when to use built in functions and external programs
- performance issues of abstraction layers, etc.
I am thinking of some detailed explanations, and not
just stating "do not do this, but do that", as every
solution is better in some respect.
Goba
- Next message: Damien Seguy: "[PHP-DOC] cvs: phpdoc /en/appendices aliases.xml"
- Previous message: Damien Seguy: "[PHP-DOC] cvs: phpdoc /fr/functions ftp.xml"
- In reply to: Alexander Merz: "[PHP-DOC] Re: [PHP-DEV] new manual chapter suggestion"
- Next in thread: Alexander Merz: "[PHP-DOC] Re: [PHP-DEV] new manual chapter suggestion"
- Reply: Alexander Merz: "[PHP-DOC] Re: [PHP-DEV] new manual chapter suggestion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

