Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^5: Perl is dying (better sorting than the ST)

by exussum0 (Vicar)
on Jan 05, 2007 at 15:12 UTC ( #593127=note: print w/replies, xml ) Need Help??

in reply to Better sorting than the ST (was: Perl is dying)
in thread Perl is dying

In another node, you mention this came from APL. I comment here since this is the prettier version than in Re: An APL trick for the Schwartzian Transform.

Googling this has become Hard (not NP hard). Know of any off hand references?

  • Comment on Re^5: Perl is dying (better sorting than the ST)

Replies are listed 'Best First'.
Re^2: Better sorting than the ST
by Aristotle (Chancellor) on Jan 09, 2007 at 20:35 UTC

    I have no idea whether this comes from APL, Iím afraid. I originally figured out this approach on my own and only afterwards learned that itís been known in the Perl community for at least as long as the ST. (Oddly, it does not seem to get promoted much, despite its considerable advantages in the general case.) I have no idea about its history beyond that.

    Makeshifts last the longest.

      It is one level of indirection harder and perhaps doesn't have as many "cool points."

      ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

        I admit I never thought about the former. I did think of the latter, and itís consistent with one of the weaknesses I see in the Perl community (namely the tendency to pick clever and shorter-looking solutions), which is why I will now often point out this approach when people talk about the ST.

        Hmm. Interesting thought. It wonít stop me from advocating this approach, but itís a much more complete explanation of the STís prevalence than I had before.

        Makeshifts last the longest.

        By "It", did you mean Aristotle's method or GRT|ST?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://593127]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2018-05-26 21:43 GMT
Find Nodes?
    Voting Booth?