pandas-dev/pandas

PERF: cache interleaved_dtype in fast_xs

Opened this issue · 2 comments

Repeated calls to df.iloc[n] go through fast_xs which will call interleaved_dtype each time with the same arguments. We could cache the result of that and save some time. Would need to be careful about cache invalidation.

xref #61747

Could this issue be assigned to me?

Take