point.y += random() - 0.5


class Point(object):

    def __init__(self, x, y):
        self.x = x
self.y = y
points = PointSet(100000)
point = points.points[10]
for _ in range(1000):
    points.update()
print('Position of one point out of 100000:', point.x, point.y)
Storing Python objects in a Python list vs. a fixed-length Numpy array