Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Scala 2.8.0, Scala 2.9.2
    • Fix Version/s: Scala 2.10.0-M3
    • Component/s: None
    • Labels:

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: