Re:The Anti-If Campaign
by jrandom on Thursday June 25, 2009 @12:50PM
(#674000)
This strikes me as particularly funny as I'm working on a module of code where I had to use a type field and an 'if' statement to get around a dynamic cast that was killing performance.
(Virtual functions were not an option as this was taking place inside an STL '==' comparator.)
(Virtual functions were not an option as this was taking place inside an STL '==' comparator.)