Quote Originally Posted by savage
I believe that the number of parameters passed to a function/parameter may have a speed impact, so try and limit them to 3 max ( I think that is right ), as it will then use the CPU registers.

I am sure I read this somewhere, but someone may need to confirm this.
IIRC it is 4, but self takes one too

However if TVector is not a basic type (pointer, integer, anything that fits in a register), it will become an implicit parameter anyway, so moving it has no effect.

I think VAR is much better if the value is a complex or automated type, and that it doesn't matter that much.

Stack access is a lot faster on P6 and later cores. (keep in mind Delphi was designed for 486/P-I originally)