Skip to content

MDEV-38972 Refactor MDEV-37530#5026

Open
ParadoxV5 wants to merge 3 commits intomainfrom
MDEV-38972
Open

MDEV-38972 Refactor MDEV-37530#5026
ParadoxV5 wants to merge 3 commits intomainfrom
MDEV-38972

Conversation

@ParadoxV5
Copy link
Copy Markdown
Contributor

Move Info_files’ VALUE_LISTs to for-each

This commit refactors the static lists of bulky member pointer substitutes to instance-level lists of on-demand references.

The choice of these static lists was an aggressive optimization.
Once operations reduce dependence on saving and loading, e.g., for crash safety in non-GTID mode, that improvement will no longer be significant.

MDEV-38972 Refactor MDEV-37530 and MDEV-28302 to Use Internal Data Structures

We currently (should) use in-house data structures; those in the C++ Standard Library are not yet formally approved.
Until that day comes (if ever), this commit swaps the set of data structures.
As this commit contains no other significant refactoring, this change from one library to the other is also a sample for static and performance comparisons.

@ParadoxV5 ParadoxV5 requested review from bnestere and montywi April 30, 2026 20:28
@ParadoxV5 ParadoxV5 added MariaDB Corporation Replication Patches involved in replication labels Apr 30, 2026
ParadoxV5 added 3 commits May 1, 2026 14:07
MariaDB 5.5 has been EOL for 6 years, and MySQL 5.5 for almost 7½ years.
Code improvements are therefore no longer obliged to retain a
slightly divergent path that supports upgrades from those versions.
This commit refactors the static lists of bulky member pointer
substitutes to instance-level lists of on-demand references.

The choice of these static lists was an aggressive optimization.
Once operations reduce dependence on saving and loading, e.g., for crash
safety in non-GTID mode, that improvement will no longer be significant.
…ructures

We currently (should) use in-house data structures;
those in the C++ Standard Library are not yet formally approved.
Until that day comes (if ever),
this commit swaps the set of data structures.
As this commit contains no other significant refactoring,
this change from one library to the other is also
a sample for static and performance comparisons.
@ParadoxV5 ParadoxV5 marked this pull request as ready for review May 1, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MariaDB Corporation Replication Patches involved in replication

Development

Successfully merging this pull request may close these issues.

1 participant