<?xml version="1.0" encoding="windows-1252"?>
<node id="578578" title="Re: Schwartzian Transform vs. Building Hash of Function Results, Then Sorting on Function Results" created="2006-10-16 15:27:59" updated="2006-10-16 11:27:59">
<type id="11">
note</type>
<author id="9073">
merlyn</author>
<data>
<field name="doctext">
Consider sorting a list of objects that have a stringification overload and two of those objects stringify to the same string.  With the ST, everything just works.  With the hash method, the two objects collapse to the same hash entry.
&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-9073"&gt;
&lt;p&gt;-- [http://www.stonehenge.com/merlyn/|Randal L. Schwartz, Perl hacker]
&lt;br&gt;
Be sure to read [id://205373|my standard disclaimer] if this is a reply.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
9108</field>
<field name="parent_node">
578571</field>
</data>
</node>
