Subject: Re: unaligned access: how to track ?
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Chris G. Demetriou <cgd@netbsd.org>
List: port-alpha
Date: 06/08/2000 09:30:40
Manuel Bouyer <bouyer@antioche.lip6.fr> writes:
> Ok, it seems in this case the best thing to do is to always copy. From tests
> I ran it looks like there's no gain in trying to align the data on write
> and test on read.

aligning the data on write will not help, since db is just going to
re-pack it anyway.

checking the alignment of the data on read might, though... depending
on the size of your copy and the cost of the test.  8-)


cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.