Improve performance of clifford_to_lst().