orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ORC-187) BitFieldReader has an unnecessary loop
Date Sat, 06 May 2017 05:56:04 GMT
Gopal V created ORC-187:
---------------------------

             Summary: BitFieldReader has an unnecessary loop
                 Key: ORC-187
                 URL: https://issues.apache.org/jira/browse/ORC-187
             Project: ORC
          Issue Type: Bug
          Components: Java, Reader
    Affects Versions: 1.4.0
            Reporter: Gopal V


{code}
  /** The number of bits in one item. Non-test code always uses 1. */
  private final int bitSize;
{code}

The bitField reader was originally supposed to be extensible as an Integer reader with packing
- but HIVE-7219 introduced parallel unpack routines which were better.

This makes BitFieldReader::next() the core hotspot for integer sequences.





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message