You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2008/08/28 15:43:44 UTC

[jira] Updated: (HBASE-849) Speed improvement in JenkinsHash

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

Andrzej Bialecki  updated HBASE-849:
------------------------------------

    Attachment: jenkins.patch

This patch replaces the pattern of Long.valueOf with simple (int) casts.

> Speed improvement in JenkinsHash
> --------------------------------
>
>                 Key: HBASE-849
>                 URL: https://issues.apache.org/jira/browse/HBASE-849
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 0.2.1
>            Reporter: Andrzej Bialecki 
>             Fix For: 0.2.1
>
>         Attachments: jenkins.patch
>
>
> The JenkinsHash implementation frequently uses a pattern Long.valueOf( ..expr..). This is costly, because each time the JVM implicitly creates a new Long object.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.