polars-ocaml
polars-ocaml copied to clipboard
Stop using unsafe ocaml_failwith function in Rust
Raising OCaml exceptions from Rust code generally leaks memory since it skips dropping Rust values which are in scope. We instead unwrap()
which will panic, unwind, and be caught at the FFI boundary instead.