Faster phase switching with two commutation tables