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.