[fpc-pascal] header translation question, 64 bit problem
Florian Klämpfl
florian at freepascal.org
Sun Jun 17 12:08:47 CEST 2012
Am 17.06.2012 01:02, schrieb Bernd:
>
> TPurplePluginInfo = packed record
You should also avoid using packed. FPC usually uses the same alignment
as C on a certain platform does if the types are correctly used.
However, on platforms (e.g. arm, sparc) which require proper alignment,
packed causes the compiler to load every data element byte by byte
because packed records do not guarantee to be aligned properly. This
slows down code a lot.
More information about the fpc-pascal
mailing list