Comparison of algorithms.