For more efficient "lists" there are Numpy arrays https://numpy.org/doc/stable/reference/generated/numpy.array... which do have cache locality
If you're going pure Python then space is a better reason than speed. I'm not sure an array is even as fast as a list.