Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: Sorting on identical values

by AnomalousMonk (Bishop)
on Aug 09, 2019 at 00:12 UTC ( #11104204=note: print w/replies, xml ) Need Help??

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

The Schwartzian transform is a general technique or pattern that is applicable to much more than sorting problems.

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

Replies are listed 'Best First'.
Re^3: Sorting on identical values
by Anonymous Monk on Aug 14, 2019 at 01:19 UTC
      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?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2019-09-19 21:23 GMT
Find Nodes?
    Voting Booth?
    The room is dark, and your next move is ...

    Results (251 votes). Check out past polls.