[fpc-devel] cmem not aligning memory

C Western l at c-m-w.me.uk
Sat Apr 3 13:00:57 CEST 2010


I notice that the cmem unit does not align memory in the same way as the 
default unit - removing the cmem unit makes a factor of two difference 
in the speed of some double precision matrix code. (My system is i386). 
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?

Colin



More information about the fpc-devel mailing list