in reply to Optimizing Output
$string .= $a . $b . $c . $d;
does like 5 copies, whereas
$string = "$string$a$b$c$d";
only does one.
Because of this, I always do interpolation if I can, but I won't go out of my way to do so.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Optimizing Output
by sfink (Deacon) on Apr 15, 2002 at 20:35 UTC |