Jeong, YunWon
Jeong, YunWon
Related test: https://github.com/RustPython/RustPython/pull/5078/commits/cfda063fb4bc1aecb0a726893928912eab01b5c7
## Summary Provides an API `VirtualMachine::compile_module` that creates a Python module from source code. ## Detailed Explanation We can use `vm.compile` and `builtins.exec` to provide dynamic libraries without system IO....
## Summary Copied from Discord. Very simple program requires 100MB+ memory ```rust use rustpython_vm as vm; fn main() -> vm::PyResult { vm::Interpreter::without_stdlib(Default::default()).enter(|vm| { let scope = vm.new_scope_with_builtins(); let source =...
while looking in discord chat, I found it is hard to add a single module to interpreter
in my environment, repl runtime consumes: before: 6.6MB after: 6.0MB the difference is almost same as our doc db. closes #4731 closes #4732 as included dependency
remaining issue of #4941 #4954 https://github.com/RustPython/Parser/issues/6