Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Converting to boolean

by diotalevi (Canon)
on Jun 17, 2004 at 03:41 UTC ( [id://367520]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Devel::Size 'total_size';
    $ARY[ $_ ] = ? for 1 .. 1_000_000;
    print total_size( \ @ARY ) . "\n";
    ...
    # Do this as a comparison of a sparse array
    $ARY_B[ 1_000_000 ] = 1;
    print total_size( \ @ARY_B );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-19 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found