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

ut_fold_ull() is a waste on 64-bit systems

    XMLWordPrintable

Details

    Description

      On 64-bit CPU architectures, the default InnoDB data type ulint, which is an alias of size_t is 64 bits wide.

      The function ut_fold_ull() is converting a 64-bit integer to ulint. This may make sense on 32-bit systems, but we could avoid the extra instructions on 64-bit systems and just use the 64-bit index or table identifiers as is.

      Attachments

        Issue Links

          Activity

            People

              debarun Debarun Banerjee
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.