A practical tip: on long climbs, aim for an effort similar to your flat race effort, even if pace drops noticeably. Then let gravity help on the descent without braking too much.
A common mistake is surging up the hills to keep pace, then struggling on the following flat sections. Smooth effort usually gives a faster overall time.