On the computation of multigluon amplitudes