my 2p. when i ride long distances i use the opportunity to train as well. i only realised this year riding alongside someone using powermeter, when they said "why do you more than double your output when riding up the hills? why waste energy?". that's how i always used to ride, maybe just to maintain consistant speed, but also use hills for strength training. i find this style of riding works for me.
i plan to do few time trials next year as well as one or two "everestings" in preparation for pbp. and the usual sr.
Another 2p worth...
If one uses one of the online "bicycle calculators" looking at energy, speed, gradient, wind, time , etc. you can run various scenarios. Some time ago I tried it to see what the most efficient use of energy was for hilly longer rides I tend to do in the Peak District (being a slowish old git most of the time!)
If you compare, for example, using a constant 180W as opposed to 50W downhill, 150W on the level and 220W uphill you will find that the latter scenario uses about 20% less energy overall and is actually 4% faster... (using my parameters; YMMV
)
Practically, this seems to be valid too - the easiest way to improve times on hilly rides seems to be to expend the excess energy on the climb sections...
Perhaps, therefore, the answer is to practice using every hill as an interval and the rest as recovery?