Temp variables in ref_exp_ function are never used. They are just allocated and cleared. Since this is a recursive function and the reference code serves as a baseline for performance, it should be fixed.
Checklist
[x] Commit sequence broadly makes sense and commits have useful messages
Description
Temp variables in
ref_exp_
function are never used. They are just allocated and cleared. Since this is a recursive function and the reference code serves as a baseline for performance, it should be fixed.Checklist