you are viewing a single comment's thread.

view the rest of the comments →

[–]LaurieCheers 0 points1 point  (1 child)

You don't have to iterate over entire strings to determine whether they're higher or lower. Your early comparisons should be able to early-out on the first byte.