Uploaded image for project: 'Clojure'
  1. CLJ-1365

New collection hash functions are too slow

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Completed
    • Affects versions: Release 1.6
    • Fix versions: Release 1.6
    • Labels:
    • Approval:
      Ok
    • Patch:
      Code

      Description

      As reported ( https://groups.google.com/d/msg/clojure-dev/t6LAmVe-RLM/ekLTKxYfU5UJ ) by Mark Engelberg, the new collection hashing functions are slower than invoking the Murmur3 functions directly. See the attached zip for performance tests.

      Approach: Made mix-collection-hash, hash-ordered-coll, and hash-unordered-coll use primitive type hints to avoid the bulk of the time.

      Patch: clj-1365-v2.patch

      Screened by:

        Attachments

        1. clj-1365-v1.patch
          2 kB
          Alex Miller
        2. clj-1365-v2.patch
          1 kB
          Alex Miller

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alexmiller Alex Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: