Extremely flexible deep comparison