Subject: Re: CVS commit: basesrc
To: Simon Burge <simonb@netbsd.org>
From: Eduardo Horvath <eeh@turbolinux.com>
List: source-changes
Date: 01/27/2000 08:04:39
On Thu, 27 Jan 2000, Simon Burge wrote:
> Should we not use internal DB macros but use something else like
> bswap32() for the endian conversions? Even just:
>
> #include <machine/bswap.h>
>
>
> #define M_32_SWAP(foo) (foo) = bswap32((foo))
>
> which has the (extremely slight!) advantage of being optimised for
> each architecture...
Optimized for some, pessimized for others.
Eduardo Horvath