Subject: Re: Libraries in standalone programs (pmax/ELF specific?)
To: Simon Burge <firstname.lastname@example.org>
From: Curt Sampson <email@example.com>
Date: 03/31/1999 08:10:56
On Wed, 31 Mar 1999, Simon Burge wrote:
> On the pmax, this generates slightly smaller code.
> - while (n-- > 0)
> + while (n--)
Well, I suppose that doesn't actually change what the test does,
since n is unsigned (at least I believe size_t is unsigned on all
machines), but it does change the op (from > to !=), which may
actually go and change the number of instructions on other platforms
as well, potentially the other way....
Curt Sampson <firstname.lastname@example.org> 604 801 5335 De gustibus, aut bene aut nihil.
The most widely ported operating system in the world: http://www.netbsd.org