pub fn efficiency(phi: f64, tokens: usize) -> f64
Compute efficiency ratio: Phi per token. Used by the greedy knapsack in the compiler.