K kuphryn Ars Praetorian 25y 466 Jan 2, 2002 #1 Jan 2, 2002 Add bookmark #1 Performancewise, is it better to pass by reference or pass by pointer if applicable? Thanks, Kuphryn ••• More options Report Add bookmark Share
Prototyped Ars Legatus Legionis 26y 11,126 Jan 3, 2002 #2 Jan 3, 2002 Add bookmark #2 It shouldn't make a difference, since the compiler should turn pass-by-reference into pass-by-pointer-value. Since you have the option of using either, use pass-by-reference; it's likely to be more convenient to use. ••• More options Report Add bookmark Share
It shouldn't make a difference, since the compiler should turn pass-by-reference into pass-by-pointer-value. Since you have the option of using either, use pass-by-reference; it's likely to be more convenient to use.
K kuphryn Ars Praetorian 25y 466 Jan 3, 2002 #3 Jan 3, 2002 Add bookmark #3 okay. Thanks. Kuphryn ••• More options Report Add bookmark Share
P PsychoOne Ars Centurion 26y 337 Jan 3, 2002 #4 Jan 3, 2002 Add bookmark #4 See also ]the most excelllent C++ faq lite entry PO ••• More options Report Add bookmark Share