You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2013/11/12 07:20:19 UTC

[jira] [Assigned] (HBASE-9956) Remove keyLength cache from KeyValue

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

Lars Hofhansl reassigned HBASE-9956:
------------------------------------

    Assignee: Lars Hofhansl

> Remove keyLength cache from KeyValue
> ------------------------------------
>
>                 Key: HBASE-9956
>                 URL: https://issues.apache.org/jira/browse/HBASE-9956
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>            Priority: Minor
>             Fix For: 0.98.0, 0.96.1, 0.94.14
>
>         Attachments: 9935-0.94.txt, 9956-0.94.txt, 9956-trunk.txt
>
>
> See discussion in HBASE-9935. Currently KeyValue caches the keyLength in order to avoid decoding the key length in getKeyLength() repeatedly.
> Benchmarking outside of a profiler revealed no improvement from that cache (and a sampling profiler also does not indicate getKeyLength() as a performance issue).
> Along with this there's also a slight fix in ScanQueryMatcher.



--
This message was sent by Atlassian JIRA
(v6.1#6144)