Closed m-ou-se closed 5 years ago
It should be possible to call Py_CompileString at compile time (in the proc macro), and only store the Python bytecode in the Rust binary. That should save both space and parsing time in the resulting binary.
Py_CompileString
This would also show the user any Python syntax errors during compile time instead of only at run time.
This issue, and the entire project, is both amazing and horrifying
Implemented with #5 :balloon:
It should be possible to call
Py_CompileString
at compile time (in the proc macro), and only store the Python bytecode in the Rust binary. That should save both space and parsing time in the resulting binary.