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
- Winter '10