Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: Randomize word

by ysth (Canon)
on Sep 12, 2004 at 09:56 UTC ( [id://390389]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Randomize word
in thread Randomize word

Not C's qsort, nor by default a quicksort at all anymore. Note that on older perls (5.005ish?) that do use qsort, some platforms have a tendency to coredump if the sort routine provides inconsistent results. (Just heresay, never actually seen it myself.)

Replies are listed 'Best First'.
Re^5: Randomize word
by zdog (Priest) on Sep 12, 2004 at 10:57 UTC

    Here it says:

    We have changed sort to use mergesort, which for me is rather surprising since I have been told since I was a toddler to use quicksort. However, the old behavior can be controlled using the sort module; we even have a mystery stable quicksort!

    So the switch from quicksort to merge sort apparently happened with 5.8.0. Gee .. I'm out of date. Thanks for pointing that out as well.

    Zenon Zabinski | zdog | zdog@perlmonk.org

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (8)
As of 2024-03-28 09:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found