Subject: Re: unaligned access: how to track ?
To: Manuel Bouyer <email@example.com>
From: Chris G. Demetriou <firstname.lastname@example.org>
Date: 06/08/2000 09:30:40
Manuel Bouyer <email@example.com> 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-)
Chris Demetriou - firstname.lastname@example.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.