pydata/pandas — comment on commit 4ec8e40affd7028a78b9472bf3ad5ac69ca63f91
File: pandas/src/datetime.pyx line 1621
By adamklein:

How do you feel about this? The first time through, obviously comparable with the original timings.

In [1]: dti = DatetimeIndex(start=datetime(2005,1,1), end=datetime(2006,1,1), offset='Min')

In [3]: %timeit dti.Year
1000000 loops, best of 3: 738 ns per loop

In [3]: %timeit dti.Year
1000000 loops, best of 3: 738 ns per loop