Further reading
- Profilers in Python: https://docs.python.org/3/library/profile.html
- Using PyCharm's profiler: https://www.jetbrains.com/help/pycharm/profiler.html
- A beginner-friendly introduction to bytecode in Python: https://opensource.com/article/18/4/introduction-python-bytecode