I race on a Hunter 336 Legend so knew the boat pretty well.
When the wind piped up, you'll ease the vang to spill air on the top part of the main sail. Thus keep the boat on her feet. When the heeling is under control, the vang should be harden to close the top of the main and get more power (speed).
When the boat heel too much (>25 degrees), it is actually slower because of side way slippage and less sail area expose to the wind.
If you have solid vang, then no need to mess with topping lift.
On a down wind, you'll harden the vang to help the main capture more air. It also help keep the main off the spreader. Hunter uses B&R rig, you can't swing the boom out more than 60 degrees.