Optimise QString comparison based on the results from the benchmark