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. LUCENE-2084.patch
          20 kB
          Robert Muir
        2. LUCENE-2084.patch
          20 kB
          Steven Rowe
        3. TopTFWikipediaWords.tar.bz2
          8 kB
          Steven Rowe
        4. collation.benchmark.tar.bz2
          1.94 MB
          Steven Rowe
        5. LUCENE-2084.patch
          39 kB
          Robert Muir
        6. LUCENE-2084.patch
          39 kB
          Robert Muir
        7. LUCENE-2084.patch
          40 kB
          Robert Muir
        8. LUCENE-2084.patch
          40 kB
          Robert Muir

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: