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

remove Byte/CharBuffer wrapping for collation key generation

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA
    • Component/s: modules/other
    • Labels:
      None
    • Lucene Fields:
      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. LUCENE-2084.patch
          40 kB
          Robert Muir
        2. LUCENE-2084.patch
          40 kB
          Robert Muir
        3. LUCENE-2084.patch
          39 kB
          Robert Muir
        4. LUCENE-2084.patch
          39 kB
          Robert Muir
        5. collation.benchmark.tar.bz2
          1.94 MB
          Steve Rowe
        6. TopTFWikipediaWords.tar.bz2
          8 kB
          Steve Rowe
        7. LUCENE-2084.patch
          20 kB
          Steve Rowe
        8. LUCENE-2084.patch
          20 kB
          Robert Muir

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: