• Alexander Barkov's avatar
    MDEV-22849 Reuse skip_trailing_space() in my_hash_sort_utf8mbX · 9b9a354d
    Alexander Barkov authored
    Replacing the slow loop in my_hash_sort_utf8mbX() to the fast
    skip_trailing_spaces(), which consumes 8 bytes in one iteration,
    and is around 8 times faster on long data.
    
    Also, renaming:
    - my_hash_sort_utf8() to my_hash_sort_utf8mb3()
    - my_hash_sort_utf8_nopad() to my_hash_sort_utf8mb3_nopad()
    to merge to 10.5 easier (automatically?).
    9b9a354d
ctype-utf8.c 372 KB