For this one, the test is pretty good. swapping the operations resulted in a somewhat slower runtime for all ascii tests, but faster when the string had unicode chars. So overall, I think it is fine like this.