Which is faster ++a or a++
generally ++a would be implemented as:
{
a = a + 1;
return a;
}
and a++ would be
{
b = a;
a = a + 1;
return b;
}
so a++ does more, ++a is faster
Jan 17, 2009
Subscribe to:
Post Comments (Atom)
DFS the life without backtracking
No comments:
Post a Comment