On 7/4/13, Avneet Kaur <[email protected]> wrote:

> And the second one is right, but not in terms of efficiency.
> It checks for every if condition that affecting the performance.

<snip>

> I think you should use switch or if - else, instead.

Hello Avneet,
Thanks for reviewing my patch. I have replaced if with a switch
statement. Hence performance increased. Please check now.

-- 
Thanks
Gaganjyot
http://codeify.wordpress.com
"Jai Sai Naath"

Reply via email to