Eastern Palace Cannonball Hell

a.k.a. Cannonball Switch
Walk (3.950)
TAS Dash (3.916)

With efficient airpump movement, walking diagonally to the switch and to the door can come within a few frames of a frame-perfect dash strategy. Dashing is less flexible and more punishing when encountering bad cannonball RNG, though does in theory reduce the time spent in zones where cannonballs can hit you -- you will have to choose which strategy to use based on your preferences.

If walking, try to trigger the switch by stepping on its lower-right corner, as this will ensure that you can align back with the door on time.