Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 592 Bytes

File metadata and controls

16 lines (11 loc) · 592 Bytes

Improving performance of python code:

  1. Understanding python code execution:

  2. Optimization:

Major References:

* [CodeForces Blog](https://codeforces.com/blog/entry/21851)
2. [Youtube Video - Take U Forward](https://www.youtube.com/watch?v=5wEPVlmZ-n8&t=167s)
    * pypy2 has bytestring which is better than unicode-strings in pypy3
    * recursion limit in python -> making it difficult to implement DFS in python
        * Increase it by using threading and mentioning stack_size()
        * Learn ways to implement recursive problems iteratively
3.