A comparison of numerical algorithms for dynamical fermions