5 ms·
The number of objects is far too small to provide a very meaningful result.
by boblol123 16y ago
The number of objects is far too small to provide a very meaningful result.
- zokier 16y agoYeah, I got that feeling too, when time measurements are in the microsecond range. I wonder how CPU cache and memory access patterns affect the results.
- kodefuguru 16y agoI changed it to run with one million names and ran with the optimized foreach. I only did one pass. foreach 00:00:01.7348710 linq 00:00:01.8607973