MCPcopy Index your code
hub / github.com/RustPython/RustPython / compile_exec_optimized

Function compile_exec_optimized

crates/codegen/src/compile.rs:10740–10746  ·  view source on GitHub ↗
(source: &str)

Source from the content-addressed store, hash-verified

10738 }
10739
10740 fn compile_exec_optimized(source: &str) -> CodeObject {
10741 let opts = CompileOpts {
10742 optimize: 1,
10743 ..CompileOpts::default()
10744 };
10745 compile_exec_with_options(source, opts)
10746 }
10747
10748 fn compile_exec_with_options(source: &str, opts: CompileOpts) -> CodeObject {
10749 let source_file = SourceFileBuilder::new("source_path", source).finish();

Calls 1