Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2084

remove Byte/CharBuffer wrapping for collation key generation

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • modules/other
    • None
    • New, Patch Available

    Description

      We can remove the overhead of ByteBuffer and CharBuffer wrapping in CollationKeyFilter and ICUCollationKeyFilter.

      this patch moves the logic in IndexableBinaryStringTools into char[],int,int and byte[],int,int based methods, with the previous Byte/CharBuffer methods delegating to these.
      Previously, the Byte/CharBuffer methods required a backing array anyway.

      Attachments

        1. collation.benchmark.tar.bz2
          1.94 MB
          Steven Rowe
        2. LUCENE-2084.patch
          40 kB
          Robert Muir
        3. LUCENE-2084.patch
          40 kB
          Robert Muir
        4. LUCENE-2084.patch
          39 kB
          Robert Muir
        5. LUCENE-2084.patch
          39 kB
          Robert Muir
        6. LUCENE-2084.patch
          20 kB
          Steven Rowe
        7. LUCENE-2084.patch
          20 kB
          Robert Muir
        8. TopTFWikipediaWords.tar.bz2
          8 kB
          Steven Rowe

        Activity

          People

            rcmuir Robert Muir
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: