What kind of performance difference will i see between code being run through the debugger as opposed to creating a standalone project for checking?
This is working on the premise that there are no watch points or break points active and i am just checking through the running state.
Should this be a concern on a small test project ?
i am continually improving my code as i go, as and when i establish better ways to achieve the same goal. but does this :-
Code:
int x;
int y;
x= 50;
y= 50;
for (x=0;x<10;x++)
{
for (y=0;y<10;y++)
{
//dosomething here
}
}
execute any faster than this :-
Code:
for(int x=0;x<10;x++)
{
for(int y=0;y<10;y++)
{
//do something here
}
}
apart from readability, is it any less efficient to declare things as you go ?
thanks