Do not use an Iterator inside a hot loop

Change from an iterator generating allocations inside a hot loop to a
simple for loop.
Merge pull request #3 from hokkos/master

CSharp gain 30% in perf : Do not use an Iterator inside a hot loop