You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2014/03/16 08:22:14 UTC

[jira] [Resolved] (PHOENIX-795) Faster binary search for getColumnLatest

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

Gabriel Reid resolved PHOENIX-795.
----------------------------------

    Resolution: Fixed

Bulk resolve of closed issues imported from GitHub. This status was reached by first re-opening all closed imported issues and then resolving them in bulk.

> Faster binary search for getColumnLatest
> ----------------------------------------
>
>                 Key: PHOENIX-795
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-795
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: larsh
>
> Ran all Phoenix tests.
> (TestPhoenixSink hangs, but that is not due to this).
> Please have a look. This only helps performance if we do not have to instanceof checks, etc.
> Both JDK7 and JDK6 only pas the search term to the right side of the comparator.
> With this getColumnLatest no longer shows up in the profiler and I see a 20-30% performance improvement even for small KVs.
> Removed the older methods, they weren't used anywhere else. If we need to keep these for backward compatibility we, could add them back.



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