IIRC it is 4, but self takes one tooOriginally Posted by savage
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)
Bookmarks