More efficient comparison