home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.arch      Apparently more than just beeps & boops      131,241 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 131,071 of 131,241   
   Stephen Fuld to John Levine   
   Re: sort history, PDP-11 history, was Va   
   12 Feb 26 23:34:10   
   
   From: sfuld@alumni.cmu.edu.invalid   
      
   On 2/11/2026 2:12 PM, John Levine wrote:   
   > According to Terje Mathisen  :   
   >>> We knew it was possible to do runtime code generation, since it's an   
   >>> ancient technique widely used by sort programs to speed up the inner   
   >>> comparison loop, but we had enough trouble getting our programs to   
   >>> work the normal way.   
   >>   
   >> 40 years ago my own sort functions/programs would instead either extract   
   >> the compound keys into a form that could be compared directly, or   
   >> re-write (with a reversible transform) the data in place, so that it was   
   >> trivially comparable.   
   >>   
   >> The final option was to extract a short prefix (8-bytes) of the key data   
   >> and accept that the full sort would only deliver a partially sorted   
   >> results, so that I had to do a final sort pass over each chunk of equal   
   >> prefix.   
   >   
   > I'm pretty sure you'll find all of those in sort programs from the 1960s.   
   > Sorting used more computer time than anything else so they put a great   
   > deal of work into making it fast.   
   >   
   > See, for example:   
   >   
   > https://bitsavers.org/pdf/ibm/360/os/R01-08/C28-6543-3_Sort_Merge_Feb67.pdf   
      
   Yup.  And note that having a faster sort program than the standard IBM   
   one made the company Syncsort a lot of money.   
      
   https://en.wikipedia.org/wiki/Precisely_(company)   
      
   --   
     - Stephen Fuld   
   (e-mail address disguised to prevent spam)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca