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