diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2023-03-06 15:32:25 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2023-03-06 15:32:25 +0200 |
commit | 66b21ed5403aa4ef18a4c797af353ec3379b152d (patch) | |
tree | 2012ceb451230ffddf56dc4dcb339f045fe45ead /include | |
parent | 99ee200b8bc8d76469249a828b642f3a1efee2de (diff) | |
download | mariadb-git-66b21ed5403aa4ef18a4c797af353ec3379b152d.tar.gz |
MDEV-30567 rec_get_offsets() is not optimal
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
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions