|
|
|
|
|
by apu
5303 days ago
|
|
Not just space, but speed as well. I've often noted significant speedups in many operations by switching to array.array. In some cases, the speedups are comparable to or even slightly better than using numpy (which is much more heavy-weight). |
|
I've been using NumPy for a while now, and I've literally never had a reason to use array.array where NumPy arrays have worked.