Rapid melting and quenching with microsecond current pulses