TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DAVID NOON
from: MATHIEU BOUCHARD
date: 1998-05-12 02:14:00
subject: Selection Sort, Mk. Ii

 DN> After a suggestion by George White, I have modified the template I 
osted
 DN> for Selection sort a week or two ago. The change is to anchor the
 DN> comparisons at the right-most end and work downwards. This will produce 

 DN> slightly shorter loop on the Intel platform. Mileage will vary on other
 DN> hardware platforms.
well, y'know, a good optimizing compiler will automatically work
downwards for you nowadays. But, yes, with TC++ 3.00, you better do it
by hand...
matju
--- Terminate 4.00/Pro
---------------
* Origin: The Lost Remains Of SatelliteSoft BBS (1:163/215.42)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.