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)
|