• Marko Mäkelä's avatar
    MDEV-30567 rec_get_offsets() is not optimal · b1646d04
    Marko Mäkelä authored
    rec_init_offsets_comp_ordinary(), rec_init_offsets(),
    rec_get_offsets_reverse(), rec_get_nth_field_offs_old():
    Simplify some bitwise arithmetics to avoid conditional jumps,
    and add branch prediction hints with the assumption that most
    variable-length columns are short.
    
    Tested by: Matthias Leich
    b1646d04
rem0rec.cc 78.5 KB