Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Sorting on identical values

by AnomalousMonk (Bishop)
on Aug 21, 2019 at 20:16 UTC ( #11104833=note: print w/replies, xml ) Need Help??


in reply to Re^3: Sorting on identical values
in thread Sorting on identical values

The Schwartzian transform is a general technique or pattern ...
... you might wanna check on that ...

After looking at a bunch of Schwartzian Transforms, I must admit that they all seem to have sort stuck somewhere in the middle.

I think what was bouncing around in the back of my mind when I wrote that were echoes of two important design patterns: a series of list-consuming/-producing functions (which may or may not include sort!) that feed each other seriatim to produce a final output; and the notion of memoization. I'd have to say now that while the ST (or decorate-sort-undecorate, or whatever) embodies those two patterns and is an important sorting design pattern, it's certainly not a general design pattern (or technique, or whatever).


Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2019-09-15 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (178 votes). Check out past polls.

    Notices?