Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Deterministic or keys in random order

by moritz (Cardinal)
on May 14, 2008 at 13:44 UTC ( #686512=note: print w/replies, xml ) Need Help??


in reply to Deterministic or keys in random order

It's random in the sense the ordering is arbitrary, and that you shouldn't rely on any particular ordering.

If perl detects that a program has unusually many hash collisions it might change the hash functions, and thus the ordering. (I don't know if perl actually does that, but it's certainly allowed to do so).

  • Comment on Re: Deterministic or keys in random order

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2022-12-01 07:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?