You normally make GetNum() inline to avoid the additional cost.
...Which it is, so I do not see any additional cost.
(Tip of the day: Avoid prepending the member variables with '_')
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Thread: Performance CostThreaded View
|
Click Here to Expand Forum to Full Width |