Details
-
Task
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
Remove page_id_t::m_fold. This was added as an optimization but my benchmark shows it actually slows things down. http://quick-bench.com/p9tQCIFqk2MJgBrK_vp80YD6r8Y
Updated page_id_t will be consisted of a two uint32_t. It can be transferred in one register in 64 bit platforms. So, pass it by value everywhere.
Attachments
Issue Links
- relates to
-
MDEV-23719 Make lock_sys use page_id_t
-
- Closed
-
In 10.5, page_id_t was optimized further to be a wrapper of a single 64-bit integer, so that we can simplify comparisons.