Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: Is rand() really that slow or am I just using it wrong?

by bulk88 (Priest)
on Aug 10, 2013 at 21:54 UTC ( #1048950=note: print w/ replies, xml ) Need Help??

Comment on Re^5: Is rand() really that slow or am I just using it wrong?
Re^6: Is rand() really that slow or am I just using it wrong?
by BrowserUk (Pope) on Aug 11, 2013 at 05:19 UTC

    Interesting.

    I'd hope that if P5P decides to implement a single, consistent PRNG, that they opt for a fast, non-cryptogrpahic, well-known and tested, and 64-bit (not 48; at least on 64-bit versions) such as:

    And not just make one up.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2014-12-28 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (181 votes), past polls