On Tue, Apr 10, 2007 at 03:44:26AM +1200, Ross Smith wrote: > On Monday, 9 April 2007 13:09, J.C. Pizarro wrote: > > > > This code is bigger than Joe Buck's. > > > > Joe Buck's code: 10 instructions > > Ross Ridge's code: 16 instructions > > Ross Smith's code: 16 instructions > > Well, yes, but it also doesn't have the bug Joe's code had. That was > sort of the whole point. If you don't care whether it gives the right > answer you might as well just leave the status quo.
Agreed; it's bogus to compare my bad code with anything else. But on most common platforms, I'm sure that there are assembly language sequences that will beat any of these.