For me personally I gear for the fastest sections of a course, so work out your maximum speed and gear for that, rather gearing for the slow bits. You just get on with it when the cadence/speed gets low, but it's a waste of time spinning out at higher speeds for long periods when you want to put a bit of pressure on.
Noted4furtherreflection