You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2013/01/23 23:45:13 UTC

[jira] [Updated] (LUCENE-4690) Optimize NumericUtils.*ToPrefixCoded(), add versions that don't hash

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

Yonik Seeley updated LUCENE-4690:
---------------------------------

    Description: 
As far as I can tell nothing actually uses the hash codes generated by these methods (not even any tests).  If someone did want to generate a hash, it would be just as fast to do it on the BytesRef after the fact (or even faster from the input number itself).

edit: Uwe pointed out they were used in one place.  Other places still don't need it.

  was:As far as I can tell nothing actually uses the hash codes generated by these methods (not even any tests).  If someone did want to generate a hash, it would be just as fast to do it on the BytesRef after the fact (or even faster from the input number itself).

       Priority: Minor  (was: Major)
        Summary: Optimize NumericUtils.*ToPrefixCoded(), add versions that don't hash  (was: remove hashing from NumericUtils.*ToPrefixCoded )
    
> Optimize NumericUtils.*ToPrefixCoded(), add versions that don't hash
> --------------------------------------------------------------------
>
>                 Key: LUCENE-4690
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4690
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>            Priority: Minor
>         Attachments: LUCENE-4690.patch
>
>
> As far as I can tell nothing actually uses the hash codes generated by these methods (not even any tests).  If someone did want to generate a hash, it would be just as fast to do it on the BytesRef after the fact (or even faster from the input number itself).
> edit: Uwe pointed out they were used in one place.  Other places still don't need it.

--
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