Extending Python with C
Say you’ve finally hit a point while writing your python code where performance starts becoming an issue. So now, you’ve decided to go ahead and optimize your code a little
At this point, you have a bunch of options in front of you.
- Bring down the time complexity of whatever it is that’s slowing you down. Pick a faster algorithm. Ideally, this is what you should try out first. And in most cases…