> Unless there is an optimization in recent Cython versions, not declaring an indexer type will make the for-in-range loop generate a Python list of int.

I think that this optimization has been in for quite a while.