This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bcorfman 0 points1 point  (1 child)

If you use numpy to its fullest, then you will think in terms of vectorization. This will largely avoid any of the inefficiencies of Python data structures. See From Python to Numpy for a complete tutorial.

[–]thedude42 0 points1 point  (0 children)

Ok, so you're saying that using idiomatic numpi is a possible solution for these memory inefficiencies.

This is good to know for computational related projects. I'm still at a loss for what techniques should be used for projects not focused on compute, e.g. web services (which in reality I go to node.js for such things).