Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   “Try to avoid foreach/for loops”–Over my Dead Body! | Visual Studio Feeds (https://www.delphipraxis.net/159146-%93try-avoid-foreach-loops%94%96over-my-dead-body-%7C-visual-studio-feeds.html)

DP News-Robot 16. Mär 2011 05:42

“Try to avoid foreach/for loops”–Over my Dead Body! | Visual Studio Feeds
 
Zack Owens wrote a nice article comparing various loop constructs. Summary: If the semantics are the same, it does not matter if you use foreach, for, while or do while: they all *have equal speed. So: choose the loop construct that best fits the problem you are trying to solve. –jeroen via: ...http://feeds.feedburner.com/~r/delph...~4/CGJvL6OtcvY

More...


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:31 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz