Store pointers in EliasFanoReader and BitVectorReader only if quantum > 0
authorGiuseppe Ottaviano <ott@fb.com>
Wed, 3 May 2017 21:58:44 +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)
commit6f027b290a0ee1754b655b5e739ecb98e11f2f3d
tree41025700cac0af2bcacedcfb2a94ac581c172186
parent121ecb47e326245d256a2a4ac32e4670429d34ba
Store pointers in EliasFanoReader and BitVectorReader only if quantum > 0

Summary:
No need to store the pointers to forward and skip arrays if
they're not used.

Reviewed By: luciang

Differential Revision: D4977014

fbshipit-source-id: 2ed13fdcd1561da1a294f5895f3a5e1b77f1701c
folly/Makefile.am
folly/experimental/BitVectorCoding.h
folly/experimental/CodingDetail.h [new file with mode: 0644]
folly/experimental/EliasFanoCoding.h