Details

    Description

      currently a collation lookup (collation name to collation id) is done (in get_collation_number_internal()) by linearly scanning the array of collations.

      This used to work fine, but the number of collations is constantly growing (MDEV-27009, MDEV-20912) and the linear search is starting to become noticeable.

      It would be a good idea to change it to a hash lookup.

      Same can be done for character sets, even though the number of charsets didn't grow that much.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Sergei Golubchik made transition -
            Open In Progress
            51d 2h 48m 1
            Sergei Golubchik made transition -
            In Progress In Review
            6s 1
            Sergey Vojtovich made transition -
            In Review Closed
            9d 10m 1
            Sergei Golubchik made transition -
            Closed Stalled
            45m 37s 1
            Sergei Golubchik made transition -
            Stalled In Testing
            4s 1
            Roel Van de Paar made transition -
            In Testing Stalled
            16d 19h 37m 1
            Alexander Barkov made transition -
            Stalled Closed
            1h 58m 1

            People

              bar Alexander Barkov
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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