Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Hashes do preserve insertion order after all

by kikuchiyo (Hermit)
on Aug 01, 2019 at 15:49 UTC ( [id://11103716]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/bin/bash
    
    ...
    my $addrs  = scalar keys %addr;
    print "Address of reference reused $reused times, all addresses $addrs
    +, in $count tries";' $i
    done
    
  2. or download this
    Address of reference reused 1 times, all addresses 1999, in 2000 tries
    Address of reference reused 1001 times, all addresses 2999, in 4000 tr
    +ies
    ...
    Address of reference reused 19363 times, all addresses 19375, in 81920
    +00 tries
    Address of reference reused 35747 times, all addresses 35759, in 16384
    +000 tries
    Address of reference reused 68515 times, all addresses 68527, in 32768
    +000 tries
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-23 07:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found