go ahead... be a heretic | |
PerlMonks |
Re: Re: append to a string or make an array? (memory and time efficiency)by diotalevi (Canon) |
on Jul 25, 2003 at 04:08 UTC ( [id://277787]=note: print w/replies, xml ) | Need Help?? |
I would guess any difference is about copying - the more you can do to prevent perl from having to copy strings around the better off you're likely to have. My nearly published ESPPlus::Storage is an example of that, in as many places as possible it avoids making copies and also is sure to pass references around instead of plain strings.
In Section
Seekers of Perl Wisdom
|
|