windows - Programming performance -


I would like to know that these 2 code variables are similar to display announcements:

  Int value; For {int i = 0; i  

or

  (int i = 0; i <1000; i ++) {int value = i; }  

Actually, I have to know that to make the process time variable value and allot it in RAM is once in the first case and if it is or not, then 1000 times second .

If you are doing c ++ or c # programming, then it does not matter because no runtime The difference will not be the initialization for the simple int type.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -