[ 
https://issues.apache.org/jira/browse/LUCENE-5604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968126#comment-13968126
 ] 

Dawid Weiss commented on LUCENE-5604:
-------------------------------------

> I'm wondering if we should try linear probing? 

It's what fastutil and hppc use internally. I remember Mike did try switching 
to linear probing a while back (was it for BytesRefHash or the FST work?) and 
it didn't bring any reasonable improvement. Also, there are minor gotchas with 
linear probing like this one: http://issues.carrot2.org/browse/HPPC-80

> Should we switch BytesRefHash to MurmurHash3?
> ---------------------------------------------
>
>                 Key: LUCENE-5604
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5604
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.9, 5.0
>
>         Attachments: BytesRefHash.perturb.patch, LUCENE-5604.patch, 
> LUCENE-5604.patch
>
>
> MurmurHash3 has better hashing distribution than the current hash function we 
> use for BytesRefHash which is a simple multiplicative function with 31 
> multiplier (same as Java's String.hashCode, but applied to bytes not chars).  
> Maybe we should switch ...



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to