HF RL Explorer

errors.Is performance degradation with non-matching errors

errors.Is performance degradation with non-matching errors: a task in LegoFlow-SWE (Harbor dataset). errors.Is(err, reference) performs poorly when the reference error is not present anywhere in the error chain. The slowdown is caused by quadratic algorithmic complexity and excessive memory…

The task

`errors.Is(err, reference)` performs poorly when the reference error is not present anywhere in the error chain. The slowdown is caused by quadratic algorithmic complexity and excessive memory allocations that grow dramatically with chain depth. Common error inspection operations become a CPU and memory bottleneck,…

Part of Lego-X/LegoFlow-SWE.