As someone said earlier, the code is the code. If your overtaking the down hill skier it is your responsibility to avoid them no matter if they are making short turns or going from side to side (or both).
This^^^ Most frightening day of my skiing career watching a racer making huge GS turns at high speed plow into my daughter--who was not even going side to side but relatively straight-- she is fine.... but the code is the code. Note-- this accident was probably equally caused by violating the code and the limited terrain and decisions to train racers on lower intermediate trails due to such limited terrain.