News for hackers. Stuff that matters.
Re:The death of if/else cascades, a lightweight alternative by eru on Sunday December 06, 2009 @01:42PM (#979939)
Is the second version slower because the string won't get intern-ed?
Re:The death of if/else cascades, a lightweight alternative by cma on Sunday December 06, 2009 @02:07PM (#979975)
Yeah, and the string must be reinterpolated every time (possibly barring some of the more exotic python implementations).