def makeList():
    """gc.disable()"""
mylist = 6 * len(circles) * [None]
for i in range(len(circles)):
    j = 6 * i
mylist[j] = circles[i].m[0] - circles[i].r
mylist[j + 1] = 0
mylist[j + 2] = i
mylist[j + 3] = circles[i].m[0] + circles[i].r
mylist[j + 4] = 1
mylist[j + 5] = i
return mylist
Производительность добавления Python