3 ms·
This is true, but I suspect that you're getting downvoted because python doesn't do bytecode optimization.
by klyrs 5y ago
This is true, but I suspect that you're getting downvoted because python doesn't do bytecode optimization.
- nerdponx 5y agoCPython doesn't. But the other Python implementations (PyPy, GraalVM, et al) don't even use the CPython bytecode.
- klyrs 5y agoAlso true... but this decorator isn't going to work in that context.
- masklinn 5y agoCpython absolutely does, just not much of it (it has a peephole optimiser with a very small set of opts).