In general it's better to be in gear through a corner than try to shift through a corner because you can get on the gas right away to get out of the corner and, more importantly, you don't change the attitude of your car by "jarring" it when you shift.