Question: why enumeration is faster than iterator?
Answer: In the example of the micro-benchmark given, the reason the Enumeration is faster than Iterator is because it is tested first. ;) The longer answer is that the HotSpot compiler optimises a whole method when a loop has iterated 10,000 times.