But you have to remember that
Code:
Function myfunction(input1, input2: array of integer):real;
and
Code:
type TMyIntArray = array[1..9] of integer;
pMyIntArray = ^TMyIntArray;
Function myfunction(input1, input2: pMyIntArray):real;
are propably faster than
Code:
TMyCrazyArrayType = array [0..154] of Integer;
function myfunction(somecrazyinputthingy: TMyCrazyArrayType): Integer;
because the 2 upper versions only send a pointer to the array, don't make actual copies of each of the element in it. Especially if the array is big, copying it all in would be extremely bad coding.