Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2015-11-28 22:29 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls