[fpc-pascal] Memory alignment with FPC

Marco van de Voort marcov at stack.nl
Thu Oct 11 15:16:31 CEST 2012


In our previous episode, Jonas Maebe said:
> > reading and writing records as a whole safe on all platform/ 
> > architecture
> > combinations right? Apart from a few padding bytes, what are the
> > performance penalties of doing this then? Why would there be  
> > penalties?
> 
> The cpu cache will contain lots of unused padding bytes.

And operations that move records will move more bytes. (e.g. reallocation).




More information about the fpc-pascal mailing list