Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gwbas1c
on June 7, 2019
|
parent
|
context
|
favorite
| on:
Should array length be stored into a local variabl...
Wrong
From the article:
> It also turned out that Foreach often walks through the array faster than For
merb
on June 8, 2019
[–]
1. `ForEach` is slower. 2. `foreach` is faster. 3. Linq is slower.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
From the article:
> It also turned out that Foreach often walks through the array faster than For