hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-9956) Remove keyLength cache from KeyValue
Date Tue, 12 Nov 2013 01:02:23 GMT

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

Lars Hofhansl updated HBASE-9956:
---------------------------------

    Attachment: 9935-0.94.txt

Here's the patch from HBASE-9935.
Will make a trunk patch as well.

> 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
>            Priority: Minor
>         Attachments: 9935-0.94.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)

Mime
View raw message