Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Converting to boolean

by diotalevi (Canon)
on Jun 17, 2004 at 03:41 UTC ( #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
Node Status?
node history
Node Type: note [id://367520]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2020-11-25 23:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?