14.01.2013, 14:46
1.
for(new i = 0; i < MAX_PLAYERS; i++)
{
//bla bla
}
2.
foreach(Player, i)
{
//bla bla
}
1 or 2 ? Which is faster ?
for(new i = 0; i < MAX_PLAYERS; i++)
{
//bla bla
}
2.
foreach(Player, i)
{
//bla bla
}
1 or 2 ? Which is faster ?