5 ms·
This is certainly an interesting idea. A quick Google search gave me this toy example: [1][2] Of course making it work for all cases would be very hard due to
by barosl 11y ago
This is certainly an interesting idea. A quick Google search gave me this toy example: [1][2]
Of course making it work for all cases would be very hard due to the excessive dynamism of Python, but for simple arithmetic operations it could be made to work fairly well.
[1] http://tomforb.es/automatically-inline-python-function-calls http://tomforb.es/automatically-inline-python-function-calls
[2] https://github.com/orf/inliner https://github.com/orf/inliner