Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-18233

Moving the hash_node_t to improve locality of reference

    XMLWordPrintable

    Details

      Description

      While performing a search, hash_table_t reads a key and a pointer to the next node. Code will work faster if both fields reside in the same cache line.

      This issue was created to find inefficient hash_table_t usage and fix it by reordering fields in classes.

      NFC

        Attachments

          Activity

            People

            Assignee:
            marko Marko Mäkelä
            Reporter:
            kevg Eugene Kosov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: