Update generate_varint_tables to support MSVC
authorChristopher Dykes <cdykes@fb.com>
Tue, 24 May 2016 20:57:25 +0000 (13:57 -0700)
committerFacebook Github Bot 4 <facebook-github-bot-4-bot@fb.com>
Tue, 24 May 2016 21:08:38 +0000 (14:08 -0700)
commit42c850c04cc6a72087860ebd2651ab1b04a3f001
treeccffbeda93576d99ad392076724a3536da746302
parente6edf05a6ff6b4729f599fbc4aabece2fb7871cf
Update generate_varint_tables to support MSVC

Summary: MSVC is a massive pain in this respect, and, after testing many workarounds, and only ending up with it just emitting a dynamic initializer for them, it's easier to just generate the table as a `uint64_t` and load it explicitly.

Reviewed By: yfeldblum

Differential Revision: D3270226

fbshipit-source-id: 77bc84e58d393373de05a28a30dcb80b66c09c9f
folly/GroupVarint.h
folly/build/generate_varint_tables.py