Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Sorting Outline Numbers

by japhy (Canon)
on Aug 11, 2005 at 14:19 UTC ( [id://482971]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Sorting Outline Numbers
in thread Sorting Outline Numbers

I'm assuming that's producing a Schwartzian Transform. The benefit of the Guttman-Rosler Transform (which I've employed) is that it uses 'sort' instead of 'sort { ... }'. However, speed really isn't an issue here (nor should it be).

Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart

Replies are listed 'Best First'.
Re^4: Sorting Outline Numbers
by salva (Canon) on Aug 11, 2005 at 14:31 UTC
    I'm assuming that's producing a Schwartzian Transform.

    No, Sort::Key is implemented in C so it doesn't have to use nasty tricks to avoid calling perl code inside the sorting algorithm. And it is faster than the GRT most of the times.

Log In?
Username:
Password:

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

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

    No recent polls found