Mail Archives: djgpp/1997/05/01/06:44:25
Eli Zaretskii wrote:
> They don't have to be, 32 byte alignment is all that's needed AFAIK.
Sorry, I mean ofcoure 64bit(8 byte) not 64 byte boundary.
>
> I would guess that's because of the effects related to the CPU cache. If
> you really care, you could disable the caches and see if adding an int
> variable changes anything.
>
> But why should you care that much about 10%? In my experience, such
> effects are highly dependant on the particular CPU and motherboard that
> you are running on, so why bother?
I have checked the address of the first double, it have increased by 4
bytes when I have added an int beafore.
- Raw text -