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 2018/04/18 14:51:00 UTC
[jira] [Commented] (LUCENE-8180) Explore using
(Future)Arrays.mismatch for FixedBitSet.nextSetBit
[ https://issues.apache.org/jira/browse/LUCENE-8180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16442627#comment-16442627 ]
Adrien Grand commented on LUCENE-8180:
--------------------------------------
It doesn't seem to.
I tried to test this change but there is a slight slowdown with wikibigall:
{noformat}
TaskQPS baseline StdDev QPS patch StdDev Pct diff
Prefix3 107.21 (6.9%) 100.80 (5.7%) -6.0% ( -17% - 7%)
Wildcard 73.71 (6.9%) 70.43 (6.0%) -4.4% ( -16% - 9%)
IntNRQ 28.69 (10.1%) 27.82 (9.0%) -3.0% ( -20% - 17%)
OrHighHigh 32.25 (3.2%) 32.12 (3.3%) -0.4% ( -6% - 6%)
OrHighMed 101.35 (2.5%) 101.03 (2.2%) -0.3% ( -4% - 4%)
HighSpanNear 5.51 (5.5%) 5.50 (5.4%) -0.2% ( -10% - 11%)
MedPhrase 14.55 (1.7%) 14.52 (1.6%) -0.2% ( -3% - 3%)
AndHighMed 215.89 (3.0%) 215.59 (2.9%) -0.1% ( -5% - 5%)
MedSloppyPhrase 23.26 (3.3%) 23.23 (3.3%) -0.1% ( -6% - 6%)
MedSpanNear 79.38 (5.1%) 79.29 (5.1%) -0.1% ( -9% - 10%)
LowPhrase 67.40 (1.4%) 67.33 (1.4%) -0.1% ( -2% - 2%)
AndCommon 154.32 (4.2%) 154.21 (4.2%) -0.1% ( -8% - 8%)
LowSpanNear 39.95 (3.1%) 39.92 (3.2%) -0.1% ( -6% - 6%)
HighPhrase 60.46 (1.7%) 60.42 (1.6%) -0.1% ( -3% - 3%)
LowSloppyPhrase 706.30 (2.0%) 705.95 (1.9%) -0.1% ( -3% - 3%)
AndHighHigh 37.60 (2.6%) 37.59 (2.8%) -0.0% ( -5% - 5%)
OrHighLow 1380.85 (4.3%) 1380.85 (3.6%) 0.0% ( -7% - 8%)
HighSloppyPhrase 1.87 (7.9%) 1.87 (7.7%) 0.1% ( -14% - 17%)
OrCommon 217.99 (5.1%) 218.29 (5.1%) 0.1% ( -9% - 10%)
HighTerm 433.84 (6.7%) 434.54 (6.5%) 0.2% ( -12% - 14%)
LowTerm 2344.87 (4.6%) 2349.37 (4.7%) 0.2% ( -8% - 9%)
HighTermMonthSort 55.69 (11.1%) 55.83 (11.2%) 0.3% ( -19% - 25%)
Respell 211.40 (2.6%) 211.98 (2.5%) 0.3% ( -4% - 5%)
MedTerm 1125.82 (5.6%) 1129.18 (5.4%) 0.3% ( -10% - 11%)
HighTermDayOfYearSort 98.79 (9.2%) 99.16 (8.4%) 0.4% ( -15% - 19%)
Fuzzy2 111.64 (12.4%) 112.17 (11.3%) 0.5% ( -20% - 27%)
Fuzzy1 226.93 (7.3%) 228.67 (8.0%) 0.8% ( -13% - 17%)
AndHighLow 1720.51 (5.1%) 1741.37 (5.2%) 1.2% ( -8% - 12%)
{noformat}
> Explore using (Future)Arrays.mismatch for FixedBitSet.nextSetBit
> ----------------------------------------------------------------
>
> Key: LUCENE-8180
> URL: https://issues.apache.org/jira/browse/LUCENE-8180
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Priority: Trivial
> Labels: newdev
>
> Using Arrays.mismatch with a fixed-size array full of zeros might help find the next long that is not 0 faster.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org