If a particular class of objects is heavily used, do not pass it by value. Passing such objects by value is guaranteed to slow down your program!
;)
Michael Li : 14 Jun 2006 21:59 | Tags: Cxx | Comments (0) | Report a problem
Trackback URL: http://blogs.warwick.ac.uk/mli/entry/passing_objects_by/trackback/
Add a comment
You are not allowed to comment on this entry as it has restricted commenting permissions.