Improve comparison efficiency and make it less likely to be affected by language processor