Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9428 Regex filters are at least an order of magnitude slower since 0.94.3
  3. HBASE-9711

Improve HBASE-9428 - avoid copying bytes for RegexFilter unless necessary

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.98.0, 0.96.0, 0.94.13
    • None
    • None
    • Reviewed

    Description

      Parent patch copies input for RegexFilter unconditionally.
      We should only do this if the KV portion into the passed byte[] is < 1/2 of the passed byte[]. Otherwise we waste cycles.
      Patch is trivial and will be coming momentarily.

      Attachments

        1. 9711-trunk.txt
          1 kB
          Lars Hofhansl

        Activity

          People

            larsh Lars Hofhansl
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: