This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ludet2() Reason for disparity in performance: Every time operator overloading is used in ludet() function, it is analogous to function call and results in context switching which could be a huge overhead where as, using array index as in ludet2() is straightforward and doesnt involve any such middle step....
View Full Document
This note was uploaded on 06/17/2010 for the course CME 211 taught by Professor Staff during the Winter '10 term at Stanford.
- Winter '10