## How to store numpy objects ( matrices ) fast?

I have to store a list of numpy matrices. Two approaches I tried:
1.Create a list and append to it:
ls_ws=[]
for ind in range(iterations):
...
ls_ws.append(ls_w) # ls_w is a matrix of size 6,1
Problem: Fast at start, gets very slow at end...

more
»