Re: performance of the swtich/case statements

2014-10-30 Thread Erich Dollansky
cases are nice in > running numbers, > > but when the cases are messy, it will by just like lots of if/else > > > On Thu, Oct 30, 2014 at 6:30 AM, Erich Dollansky < > erichsfreebsdl...@alogt.com> wrote: > > > Hi, > > > > On Wed, 29 Oct 2014 22:39:34 +08

Re: performance of the swtich/case statements

2014-10-29 Thread Erich Dollansky
Hi, On Wed, 29 Oct 2014 22:39:34 +0800 "bycn82" wrote: > It is using the switch/case statement to make the code clear in the > > I am not a C programmer, so I am not clear how the switch/case will be > optimized by the compiler in FreeBSD. But I used to write a compiler > by myself and I use a