Details

      Description

      initialSize in the HashTable trait isn't used at all. Instead, the initialSize function of the companion object is used. This makes it pointless to override this function and provide a reasonable initialSize for loading a known number of entries. This results in very bad performance when loading a hash table with many thousand entries because the array gets continuously resized until it finally fits the number of entries.

        Activity

        Hide
        Christian Schlichtherle added a comment -

        Any chance this will get ported back to 2.9.3? I mean a bug is a bug is a bug, isn't it?

        Show
        Christian Schlichtherle added a comment - Any chance this will get ported back to 2.9.3? I mean a bug is a bug is a bug, isn't it?
        Hide
        Adriaan Moors added a comment - - edited

        fixed for 2.10 in f51dbd5564 – backport (by Typesafe) to 2.9.3-rc2 pending subject to available time

        Show
        Adriaan Moors added a comment - - edited fixed for 2.10 in f51dbd5564 – backport (by Typesafe) to 2.9.3-rc2 pending subject to available time
        Hide
        Adriaan Moors added a comment -

        reopened for potential backport

        Show
        Adriaan Moors added a comment - reopened for potential backport
        Hide
        Adriaan Moors added a comment -

        also pushing to 2.9.4-RC1

        Show
        Adriaan Moors added a comment - also pushing to 2.9.4-RC1
        Hide
        Jason Zaugg added a comment -

        The backport isn't forthcoming, closing this ticket.

        Show
        Jason Zaugg added a comment - The backport isn't forthcoming, closing this ticket.

          People

          • Assignee:
            Aleksandar Prokopec
            Reporter:
            Christian Schlichtherle
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development