Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
klyrs
on Sept 21, 2021
|
parent
|
context
|
favorite
| on:
A function decorator that rewrites the bytecode to...
This is true, but I suspect that you're getting downvoted because python doesn't do bytecode optimization.
nerdponx
on Sept 21, 2021
|
next
[–]
CPython doesn't. But the other Python implementations (PyPy, GraalVM, et al) don't even use the CPython bytecode.
klyrs
on Sept 21, 2021
|
parent
|
next
[–]
Also true... but this decorator isn't going to work in that context.
masklinn
on Sept 21, 2021
|
prev
[–]
Cpython absolutely does, just not much of it (it has a peephole optimiser with a very small set of opts).
Consider applying for YC's Summer 2025 batch! Applications are open till May 13
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: