forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize readWithVisitor for TrivialEncoding and MainlyConstantEncoding
Summary: - Fast path for `TrivialEncoding::readWithVisitor` - Fast path for `MainlyConstantEncoding::readWithVisitor` - Store `encodingType`, `dataType`, `rowCount` in `Encoding` object memory to reduce memory fetch on `data_` - Use skip functor only in `readWithVisitorSlow` to avoid virtual call cost Differential Revision: D58085138
- Loading branch information
1 parent
277d5c5
commit 2e541f7
Showing
4 changed files
with
34 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters