13.02.2014, 18:10
Thank you,
I did what you told me to do for the switch instead of reason, I don't understand what do you mean by this:
"Use proper arrays with proper size.You are wasting so many cells."
How can I how many cells I need please ? Is there a tool that can do it or something like that ?
Thank you !
I did what you told me to do for the switch instead of reason, I don't understand what do you mean by this:
Код:
Use >> and << for division and multiplication of numbers by powers of 2. number & (divisor - 1) for powers of 2 will give the remainder - this is faster! Use static and avoid useless initializations of variables in functions.
How can I how many cells I need please ? Is there a tool that can do it or something like that ?
Thank you !