Optimizations in the BigDecimalEngine comparison function: If any of the numbers are 0, the comparison is much faster now. Also, the same optimization kick is if the sign of the numbers differs. Also, now comparing infinite to 0 will work (no NumberFormatException).