Is vasectomy better or worse than a woman having her tubes tied?

While they both have a failure rate of 1/2,000, there is less pain and risk involved in vasectomy.