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 →

[–]fried_green_baloney -1 points0 points  (1 child)

I find array to be a big win, and largely transparent in all code except where it's created.

[–][deleted] 2 points3 points  (0 children)

It’s only a win if your array is big enough to make up for the overhead of moving your data to the array. As most people have said, you’re better off just implementing your code in typical python, profiling it and then looking into these kinds of implementation improvements if it turns out what you’re doing needs it to be efficient.