Python equivalence to inline functions or macros
Is it possible to inline such a function, as I would do in C using macro or using inline keyword? No. Before reaching this specific instruction, Python interpreters don’t even know if there’s such a function, much less what it does. As noted in comments, PyPy will inline automatically (the above still holds – it … Read more