Do not store inner_ in EliasFanoReader and BitVectorReader
authorGiuseppe Ottaviano <ott@fb.com>
Wed, 3 May 2017 21:58:40 +0000 (14:58 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 3 May 2017 22:13:37 +0000 (15:13 -0700)
commit71ca4d5eab4bfb45649e6338b6ff20c081ccc9f0
tree0937a79efc62900ea966b0d6e73184f0e5754f5c
parent0b988b15791ff86168241e31d27ae091edf35728
Do not store inner_ in EliasFanoReader and BitVectorReader

Summary: It is not used anywhere except for `previousValue`, but there it can be computed from the other fields. This reduces the `EliasFanoReader` size by 8 bytes.

Reviewed By: philippv, yfeldblum

Differential Revision: D4976704

fbshipit-source-id: 62bc63248b66649e483b59cb9ddf48dfd2c0e992
folly/experimental/BitVectorCoding.h
folly/experimental/EliasFanoCoding.h