tag:blogger.com,1999:blog-25794932.post5565115794471812737..comments2023-02-22T04:30:18.946-08:00Comments on Sai Charan's (b)Log: Why is switch case better than if else if?Sri Charanhttp://www.blogger.com/profile/11910830126191595892noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-25794932.post-86790097732191049682008-09-30T02:19:00.000-07:002008-09-30T02:19:00.000-07:00channa, found your blog when our guys were ...channa,<BR/> found your blog when our guys were searching for stuff on switch vs if. additional info, i bet u know this already. <BR/><BR/> switch works using an jump-table and an index, whereas if uses cascade of conditional jumps. switch is faster in many cases!!.Praveenhttps://www.blogger.com/profile/04015927911369176203noreply@blogger.com