From: "kyle cronan" <[EMAIL PROTECTED]>
> On 12/3/06, Bill Jones <[EMAIL PROTECTED]> wrote:
> > On 12/3/06, kyle cronan <[EMAIL PROTECTED]> wrote:
> > > (1<<$ARGV[0])
> >
> > Just a thought -
> >
> > The argument you are passing is really the two's complement; so you
> > are really passing 256M (not 28) to the vec statement.
> 
> So what you're saying is I should be using C!  ;)  Yeah, I'm
> implementing a lossy hash table and I want to create an array of 2^30
> integers in my program, so this is correct.  I was able to get it to
> work by using an array of 16 strings of length 2^26, then indexing
> into that array as well as into the vector there.
> 
> But I'm still wondering why this would happen?  After all, the machine
> has 16GB of ram.

You should probably use PDL : 
http://pdl.perl.org/
http://www.perlmonks.org/?node_id=587436

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to