Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
For accessing InnoDB page header fields, we should prefer direct access via uint16_t*, uint32_t*, uint64_t* when the fields are known to be aligned. We should also avoid unnecessary byte order conversions when they do not matter (say, writing 0 or ~0, or comparing to those values).
This could slightly improve performance.
It looks like small memcpy(), memset(), memcmp() can be optimized into simple instructions. It is not only IA-32 and AMD64 that support unaligned access; also POWER8 and Aarch64 seem to do that.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
issue.field.resolutiondate | 2019-11-26 08:42:16.0 | 2019-11-26 08:42:16.914 |
Fix Version/s | 10.5.0 [ 23709 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Fix Version/s | 10.5.1 [ 24029 ] | |
Fix Version/s | 10.5.0 [ 23709 ] |
Fixing Priority | 250 |
Workflow | MariaDB v3 [ 101385 ] | MariaDB v4 [ 134144 ] |
Remote Link | This issue links to "Page (MariaDB Confluence)" [ 36707 ] |
Remote Link | This issue links to "Page (MariaDB Confluence)" [ 36707 ] |