I think it depends on the error code. I've had a few O2 sensor codes over the years and never feel any difference before and after clearing the code. But when you clear the codes you also reset all the other stored parameters in the ECU and it goes into relearning mode. So it may have had some older stored params stored and now that it relearned it is with better data.