P
pamela fluente
I look for an opinion.
I am wirting a huge number of Rectangles on a graphic object.
I have a lot of places where these rectangles are passed as parameters
of some function.
Provided that these arguments are never changed within the funtions,
I am wondering if it is, in any case, better to pass them ByRef.
My intuitive guess is that it's probably faster to pass the references
alone, instead of copies
of top, left, width, height ...
Does this make sense, or is just nonsense ?
-P
I am wirting a huge number of Rectangles on a graphic object.
I have a lot of places where these rectangles are passed as parameters
of some function.
Provided that these arguments are never changed within the funtions,
I am wondering if it is, in any case, better to pass them ByRef.
My intuitive guess is that it's probably faster to pass the references
alone, instead of copies
of top, left, width, height ...
Does this make sense, or is just nonsense ?
-P