Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Re: one-liner hogs

by premchai21 (Curate)
on Feb 28, 2001 at 06:36 UTC ( #61261=note: print w/ replies, xml ) Need Help??

in reply to Re: one-liner hogs
in thread one-liner hogs

My humble contribution: while (++$i) { $foo{$i}=[ @foo ]; $foo[$i]=[ %foo, $i ]; } bounces back and forth making new arrays of ever-increasing size. Allocated about 350MB in about 30 secs. Uses a lot of processor, though.

Agreed. Quite fun deliberately pessimizing code.

Comment on Re: Re: one-liner hogs
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2015-11-28 23:54 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