Date: Wed, 19 Apr 1995 08:30:42 -0400 From: dj (DJ Delorie) To: pietervk AT vub DOT vub DOT ac DOT be Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Performance of addressing memory > The problem is that when I use one char before and one char > after e.g. an array of doubles, the time of *addressing* the array > is significantly (but not very large) larger than when I use > an int as guard. When I use a calloced array there is no > difference with ints as guards. Not that I do not count the time > needed to allocate the blocks. If you cause the array to become unaligned, you can degrade performance due to additional memory cycles required to access each element.