[fpc-devel] cmem not aligning memory

Micha Nelissen micha at neli.hopto.org
Sat Apr 3 14:09:22 CEST 2010


C Western wrote:
> Inspecting the cmem unit indicates the issue is the extra bytes 
> allocated for the count - is this really needed? Or do we have to 
> allocate more bytes for blocks that are a multiple of 8?

Do C memory managers guarantee any alignment anyway? Not for SSE (16 
bytes) I'm sure, but 8 bytes I don't know.

Micha



More information about the fpc-devel mailing list