The Waymo driver can measure the speed and the acceleration of the offending car and calculate, within at most tens of ms, its range of likely future trajectories. And it can calculate its own likely trajectories under maximum braking. And it can track exactly where all obstacles are that would matter if it swerves. All at once. And it can execute that emergency lane change with the control input that is least likely to cause a loss of control and most likely to successfully avoid the other car. It even has processing power to spare to keep playing that Spotify ad!