Completely disable the animation of Mac's multiple desktop switching feature

The simplest way to completely disable the animation of Mac’s multiple desktop switching feature, I really need this, does anyone have any methods?