I'm creating an image detection module, and I do a lot of math calculations around arrays.
I know that C/C++’s array iterates faster than Python’s
I can't move my project to C/C++, so I wanted to create an array module in C/C++ and call it in Python.
What I want to know:
1) Is this viable? Or calling a module from another interpreter will slow down my program more than it will speed it up?
2) Is there some Python package that does what I want?
I feel like I haven’t written enough info, but I can't think of anything else important.
[EDIT] So I just went with numpy and it has everything I need :p, thanks everyone