[MDEV-30567] rec_get_offsets() is not optimal Created: 2023-02-04  Updated: 2023-05-09  Resolved: 2023-03-06

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.3, 10.4, 10.5, 10.6, 10.8, 10.9, 10.10, 10.11, 11.0
Fix Version/s: 10.11.3, 11.0.2, 10.4.29, 10.5.20, 10.6.13, 10.7.8, 10.8.8, 10.9.6, 10.10.4

Type: Bug Priority: Major
Reporter: Marko Mäkelä Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: performance

Issue Links:
Blocks
blocks MDEV-30720 Expert feedback on changing the type ... Open
Problem/Incident
is caused by MDEV-20950 Reduce size of record offsets Closed
Relates
relates to MDEV-31227 innodb_flush_method=O_DIRECT causes 3... Closed

 Description   

Functions such as rec_init_offsets_comp_ordinary() are using some conditional branches where bitwise arithmetics would work. Furthermore, some tweaks to silence -Wconversion in GCC versions 6 to 9 (MDEV-21907) might cause some performance degradation, or at least make the code harder to read.


Generated at Thu Feb 08 10:17:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.