Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Assining data to an array is slow..

by jeroenes (Priest)
on Mar 01, 2001 at 12:30 UTC ( #61526=note: print w/replies, xml ) Need Help??


in reply to Assining data to an array is slow..

You should also make sure that the data actually fit in memory, or at least physical memory. perl -e '@a=(1)x2E6;sleep();' takes 48 Mb on perl5.6, and I recall it was nearly twice as much in perl5.0. And that's without any data.

So the actual allocation of the data takes time as well.

Jeroen
"We are not alone"(FZ)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://61526]
help
Chatterbox?
[stevieb]: Corion: the problem with that is the 2.36 represents the underlying C library I've wrapped, which is why I want to use incrementals after the real version number. I've emailed modules@ to see if they can expedite the process for me...
[stevieb]: ...as normally, it takes three days to delete, in case you want to change your mind

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2017-01-19 15:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (170 votes). Check out past polls.