<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Courier New'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Hello,</DIV>
<DIV> </DIV>
<DIV>Here is an idea how to speed up pascal programs by about 20%.</DIV>
<DIV> </DIV>
<DIV>Currently pascal only supports:</DIV>
<DIV> </DIV>
<DIV>array of structure;</DIV>
<DIV> </DIV>
<DIV>However if structure of array was used this could give 20% additional
performance.</DIV>
<DIV> </DIV>
<DIV>the syntax for such a new feature could be:</DIV>
<DIV> </DIV>
<DIV>structure of array;</DIV>
<DIV> </DIV>
<DIV>So examples:</DIV>
<DIV> </DIV>
<DIV>var</DIV>
<DIV> vArrayOfStructure : array[0..1000] of TSomeRecord;</DIV>
<DIV> vStructureOfArray : TSomeRecord of array[0..1000];</DIV>
<DIV> </DIV>
<DIV>All the fields for TSomeRecord are then layed out in memory as if they were
individual arrays.</DIV>
<DIV> </DIV>
<DIV>This places the fields more beneficial for cache hits such is the
idea.</DIV>
<DIV> </DIV>
<DIV>Bye,</DIV>
<DIV> Skybuck.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV></DIV></DIV></BODY></HTML>