Optimizing Switch-Case Statements In C For Speed

Posted by shantzg001 on Feb 1, 2009 7:19 AM EDT
Safer Code; By Shantanu Goel
Mail this story
Print this story

The biggest bottlenecks in making efficient code today are jumps or branches. You must have always heard of people telling you to use switch-case blocks instead of cascading if-elseā€™es. They were right, but partially.

Full Story

» Read more about: Story Type: Tutorial

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.