Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specialize vector readers for constant and flat primitives. (facebook…
…incubator#1956) Summary: Pull Request resolved: facebookincubator#1956 This diff adds a special path in the simple function adapter for flat and constant encodings. To avoid the memory blowing up, the logic is as the following: 1. If Args<=2 : specialize for all encodings and all combinations. 2. If all args are constant or flat: use ConstantFlatReader. 3. Else: use normal readers Reviewed By: kevinwilfong, mbasmanova Differential Revision: D37639207 fbshipit-source-id: 77c2371720379c328378825b2b2d50a7d21790d2
- Loading branch information