> On Mar 29, 2023, at 1:33 PM, Sven Barth via fpc-pascal > <[email protected]> wrote: > > No, array types are defined as never having padding between the elements. You > need to make sure that the element is appropriately sized then. >
Wouldn’t that be better for performance if each element was padded to align with the cache? That seems like something the compiler could do easily for you behind the scenes. I may not understand the need to "align the elements on the cache” though. Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
