You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2013/01/28 00:05:12 UTC

[jira] [Updated] (LUCENE-4726) Make PackedInts encoding from/to byte byte-aligned

     [ https://issues.apache.org/jira/browse/LUCENE-4726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrien Grand updated LUCENE-4726:
---------------------------------

    Attachment: LUCENE-4726.patch

Patch. This doesn't seem to hurt Lucene41PF performance, it's maybe even a little better:

{noformat}
TaskQPS Lucene41      StdDevQPS byte-aligned      StdDev                Pct diff
                PKLookup      328.35      (2.8%)      327.69      (2.6%)   -0.2% (  -5% -    5%)
                 Prefix3      681.89      (2.7%)      682.33      (3.3%)    0.1% (  -5% -    6%)
              AndHighLow     2837.83      (5.1%)     2843.82      (5.2%)    0.2% (  -9% -   11%)
             AndHighHigh      201.72      (1.1%)      202.19      (1.3%)    0.2% (  -2% -    2%)
              OrHighHigh       94.25      (7.0%)       94.53      (7.5%)    0.3% ( -13% -   15%)
              AndHighMed      678.40      (2.3%)      680.57      (2.6%)    0.3% (  -4% -    5%)
         MedSloppyPhrase      249.77      (1.7%)      250.67      (1.9%)    0.4% (  -3% -    4%)
               OrHighLow      424.97      (6.4%)      426.56      (6.9%)    0.4% ( -12% -   14%)
                Wildcard      258.81      (2.4%)      259.78      (3.1%)    0.4% (  -5% -    6%)
               OrHighMed      393.80      (6.1%)      395.47      (6.8%)    0.4% ( -11% -   14%)
             LowSpanNear      138.76      (3.6%)      139.46      (3.3%)    0.5% (  -6% -    7%)
            HighSpanNear      106.41      (3.3%)      107.05      (2.9%)    0.6% (  -5% -    7%)
                  Fuzzy1      125.72      (2.5%)      126.52      (2.6%)    0.6% (  -4% -    5%)
         LowSloppyPhrase      402.33      (1.7%)      404.95      (2.1%)    0.7% (  -3% -    4%)
                  IntNRQ       98.61      (7.9%)       99.31     (10.6%)    0.7% ( -16% -   20%)
             MedSpanNear      174.14      (3.7%)      175.53      (3.4%)    0.8% (  -6% -    8%)
        HighSloppyPhrase       36.23      (3.7%)       36.52      (4.7%)    0.8% (  -7% -    9%)
                 LowTerm     3629.10      (3.7%)     3659.26      (4.5%)    0.8% (  -7% -    9%)
                 Respell      137.12      (2.4%)      138.36      (2.9%)    0.9% (  -4% -    6%)
                 MedTerm     1301.50      (4.2%)     1314.41      (8.3%)    1.0% ( -11% -   14%)
               MedPhrase      273.01      (3.9%)      275.83      (3.4%)    1.0% (  -6% -    8%)
               LowPhrase      150.72      (5.6%)      152.36      (4.7%)    1.1% (  -8% -   12%)
                  Fuzzy2       49.40      (2.9%)       49.94      (3.4%)    1.1% (  -4% -    7%)
              HighPhrase      134.89      (6.1%)      136.73      (5.7%)    1.4% (  -9% -   13%)
                HighTerm      576.10      (4.4%)      586.79     (10.2%)    1.9% ( -12% -   17%)
{noformat}
                
> Make PackedInts encoding from/to byte byte-aligned
> --------------------------------------------------
>
>                 Key: LUCENE-4726
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4726
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Trivial
>         Attachments: LUCENE-4726.patch
>
>
> I had to do it for a patch for LUCENE-4609, but even if faceting doesn't end up using PackedInts, I think it would be better if encoding and decoding were byte-aligned instead of long-aligned (although encoding from/to long still needs to be long-aligned).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org