Material and structural criteria for ultra-fast Kerr nonlinear switching in optical resonant cavities