Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Bidirectional lookup algorithm? (Updated: further info.)

by Eily (Monsignor)
on Jan 07, 2015 at 19:28 UTC ( [id://1112543]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $i=1; $H{ 2**52 + $i++ } = $_, $G{ pack "Q", 2**52 + $i++ } = $_ for "
    +aaaa".."zzzz"; say total_size(\%H); say total_size(\%G)
    __DATA__
    63601240
    59945432
    
  2. or download this
    perl -E '$a = 2**53+1; $b = 2**53+2; say "Hello" if $a != $b and $a eq
    + $b; say "End"'
    Hello
    End
    
  3. or download this
    perl -Mbignum -E '$a = 2**53+1; $b = 2**53+2; say "Hello" if $a != $b 
    +and $a eq $b; say "End"'
    End
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-03-28 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found