Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Very Large Arrays

by educated_foo (Vicar)
on Feb 14, 2012 at 04:48 UTC ( #953610=note: print w/ replies, xml ) Need Help??


in reply to Very Large Arrays

I would guess that's a swapping problem (you might be able to verify this with /usr/bin/time -l). I can think of several ways to cut down on memory: (1) shuffle an array of indices; (2) store the indices in a string, and access them using vec; (3) use PDL, which has compact numerical arrays.


Comment on Re: Very Large Arrays
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://953610]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2015-07-31 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (280 votes), past polls