Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc



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                            





Home | Main Index | Thread Index | Old Index