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.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to