Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3905

Murmurhash3 implementation is slow on String keys

XMLWordPrintable

      String instances are a common choice for being used as key entries, still the getBytes() operation being performed allocates costly buffers, and the computation to get those bytes looks like expensive too.

      I suspect there might be good reasons for not using the String's own hashcode directly as an input to Murmurhash? Still that's what other implementations seem to do.

            dberinde@redhat.com Dan Berindei (Inactive)
            sgrinove Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: