<?xml version="1.0" encoding="windows-1252"?>
<node id="282621" title="Re: Re: Re: Advanced Sorting - GRT - Guttman Rosler Transform" created="2003-08-10 10:11:13" updated="2005-07-30 22:59:15">
<type id="11">
note</type>
<author id="132236">
Juerd</author>
<data>
<field name="doctext">
&lt;p&gt;&lt;blockquote&gt;&lt;em&gt;
So your code benchmarks sorting an empty list!
&lt;/em&gt;&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;
Oops.
&lt;/p&gt;
&lt;p&gt;&lt;blockquote&gt;&lt;em&gt;
Next the 'st' implementation has a bug in it so it doesnt actually sort correctly &lt;code&gt;$a-&gt;[0] &lt;=&gt; $a-&gt;[0]&lt;/code&gt;  should read &lt;code&gt;$a-&gt;[0] &lt;=&gt; $b-&gt;[0]&lt;/code&gt;
&lt;/em&gt;&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;
Copied that from the root node. Wrong indeed.
&lt;/p&gt;
&lt;p&gt;&lt;p&gt;&lt;blockquote&gt;&lt;em&gt;
grt  15.5/s 235%  52%   --
&lt;/em&gt;&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;
That's very comforting. Thanks.
&lt;/p&gt;
&lt;font 

color="#800000"&gt;
Juerd
# { site =&gt; '&lt;a href="http://juerd.nl/" target="_blank"&gt;&lt;font color="#800000"&gt;juerd.nl&lt;/font&gt;&lt;/a&gt;', plp_site =&gt; '&lt;a href="http://plp.juerd.nl/" target="_blank"&gt;&lt;font color="#800000"&gt;plp.juerd.nl&lt;/font&gt;&lt;/a&gt;', do_not_use =&gt; '&lt;a href="mailto:spamcollector_perlmonks@juerd.nl" target="_blank"&gt;&lt;font color="#800000"&gt;spamtrap&lt;/font&gt;&lt;/a&gt;' }
&lt;/font&gt;&lt;/p&gt;</field>
<field name="root_node">
145659</field>
<field name="parent_node">
282607</field>
</data>
</node>
