diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2023-03-06 17:17:32 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2023-03-06 17:17:32 +0200 |
commit | b1646d0433c98662c50af029a121d681ddfb7a2b (patch) | |
tree | e0dc08823d0138e9258f7c21a0b038153a0b65f8 /plugin | |
parent | 948fb3c27d1e0754d99a96389aaf1cf85370d839 (diff) | |
download | mariadb-git-b1646d0433c98662c50af029a121d681ddfb7a2b.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 'plugin')
0 files changed, 0 insertions, 0 deletions