The compiled Python benchmark is slower than Rust by a constant factor because Function has extra scaffolding to invoke a prediction function, whereas the Rust implementation uses a direct call.
Kind of a cliffhanger not describing what they mean by prediction function, but if I weren’t so lazy I could look it up.