XP is just a number | |
PerlMonks |
Re: Assigning data to an array is slow..by Albannach (Monsignor) |
on Mar 01, 2001 at 03:26 UTC ( [id://61465]=note: print w/replies, xml ) | Need Help?? |
I'm not sure I'd be able to call the run times you're getting "slow" either, but you might want to read the thread Memory efficiency with arrays, in which
the suggestion to pre-extend the array is mentioned, though it won't
make a huge difference. As I recall, this did help quite a bit in Perl4 days though, but that
was long ago.
--
In Section
Seekers of Perl Wisdom
|
|