Jump to content

[REZOLVAT] Care foreach e mai rapid ?


ResT
 Share

Recommended Posts

  • Retired

Care foreach e mai rapid, foreach(Player, i) sau foreach(new i : Player) ?

Ultima forma a ta este un loop facut iteratorului 'Player' in cazul tau, si da, este mai rapid decat foreach(Player, i) in cazul altor iteratori care nu necesita bucla prin toti playerii.

 

 

 

FoxForeach(i,Player)

Irelevant.

Link to comment
Share on other sites

Ultima forma a ta este un loop facut iteratorului 'Player' in cazul tau, si da, este mai rapid decat foreach(Player, i) in cazul altor iteratori care nu necesita bucla prin toti playerii.

 

 

 

Irelevant.

stiu saracie

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...