I have not noticed particular problems with switch/case, but the KM Editor can be sluggish when it is pushed a little hard.
This is from the FAQ and is the first thing to bear in mind:
Note that while you can have more than one editor window open, it can quickly slow down Keyboard Maestro so it is generally best to only have one editor window open unless you need to refer to two macros at the same time.