https://medium.com/@yonatanzunger/advanced-python-achieving-high-performance-with-code-generation-796b177ec79