optimizations regarding comparisons