Efficient Parameter passing
From: Macca (Macca_at_discussions.microsoft.com)
Date: 10/05/04
- Next message: Vipin: "DDX_Control addition"
- Previous message: Vipin: "Re: custom control example"
- Next in thread: Tim Ward: "Re: Efficient Parameter passing"
- Reply: Tim Ward: "Re: Efficient Parameter passing"
- Reply: Dave Rahardja: "Re: Efficient Parameter passing"
- Reply: Mihajlo Cvetanovic: "Re: Efficient Parameter passing"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 5 Oct 2004 08:33:03 -0700
Hi,
This is a general question to do with efficiency of passing parameters
betwen functions.
I have a function that requires a number of vectors.
These vectors may be quite large in size so I thought about creating a
structure that holds the vectors and then passing a pointer to this structure
to the fuction that needs them.
How would this compare to passing references to each vector, probably 5-6
vectors needed, as parameters to the function?
I'd appreciate any opinions on these methods of parameter passing and other
methods.
Thanks In Advance
- Next message: Vipin: "DDX_Control addition"
- Previous message: Vipin: "Re: custom control example"
- Next in thread: Tim Ward: "Re: Efficient Parameter passing"
- Reply: Tim Ward: "Re: Efficient Parameter passing"
- Reply: Dave Rahardja: "Re: Efficient Parameter passing"
- Reply: Mihajlo Cvetanovic: "Re: Efficient Parameter passing"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|