diff options
author | unknown <marko@hundin.mysql.fi> | 2005-04-22 15:27:11 +0300 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2005-04-22 15:27:11 +0300 |
commit | 1c8f5500963814507754e878e092fdc76ebce6a7 (patch) | |
tree | a71fc413839010136b97da8ec360f479d8e282fa /innobase/buf/Makefile.am | |
parent | 33d5b13bbebcfc3657a7b8cc10eec10f73d44d71 (diff) | |
download | mariadb-git-1c8f5500963814507754e878e092fdc76ebce6a7.tar.gz |
InnoDB: Optimize rec_get_offsets(), rec_copy_prefix_to_buf() and
other rec_ functions based on OProfile measurements on GNU/Linux x86.
innobase/include/rem0rec.h:
Replace FALSE/TRUE ibool comp with zero/nonzero ulint comp.
Remove rec_set_node_ptr_flag().
innobase/include/rem0rec.ic:
Replace FALSE/TRUE ibool comp with zero/nonzero ulint comp.
Remove rec_set_node_ptr_flag().
Add UNIV_LIKELY and UNIV_UNLIKELY hints.
Correct a spelling error in comment.
Simplify rec_get_deleted_flag().
innobase/rem/rem0rec.c:
Add UNIV_LIKELY and UNIV_UNLIKELY hints.
rec_init_offsets(), rec_get_offsets_func(): Optimize for x86.
rec_set_field_extern_bits(): Move "comp" flag outside the loop.
rec_copy_prefix_to_buf(): Add UNIV_PREFETCH hints.
Diffstat (limited to 'innobase/buf/Makefile.am')
0 files changed, 0 insertions, 0 deletions