iterators Vs sequences
----------------------
number of objects iterators sequences
----------------- --------- ---------
10 0.053 0.019
20 0.124 0.043
50 0.499 0.180
100 1.414 0.645
200 4.430 2.923
500 16.035 14.992
1000 136.266 65.883
It looks like sequence are about 50% more efficient than iterators.
But, sequences are still very inefficient. 65 seconds to obtain a sequence
of 1000 objects is still way too much. I will try to do the same test using
structs rather than interfaces. I hope things will be better.
-jk