|
|
|
[
Permlink
| « Hide
]
Yuri Astrakhan - 11 Mar 08 22:24
I did some sample runs on this code, trying to determine the impact of nested yields, and got about 2085 vs 1445 ms - about 44% improvement
Forgot for previous comment:
private static IEnumerable<int> Numbers { get { for (int i = 0; i < 10000; i++) yield return i; } } |
|||||||||||||||||||||||||||||||||||||||||||||||||