Slag deposition on the weld surface helps to slow the rate of cooling, but rapid cooling is one of the biggest problems in producing a quality weld.
The presence of slag on the weld surface has a beneficial effect by slowing down the cooling rate, but rapid cooling remains a major obstacle in achieving a top-notch weld.