forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Back out "Optimize evaluation by reducing peeled vectors size" (faceb…
…ookincubator#10742) Summary: This reverses an optimization in peeling where a flat vector is created as a peeled vector if the number of rows to peel is less than 1/8 the size of the dictionary's alphabet, to prevent the circulation of large peeled vectors that can cause large intermediate allocations and affect memory and performance. This resulted in a bug where the Common sub expression optimization, that relies on the address of the input vector to re-use the cached result, would get a different flat vector in its subsequent invocation but would have the same memory address and assume it can re-use the cached results. This would then cause wrong results. Pull Request resolved: facebookincubator#10742 Original commit changeset: 23ef4c590eba Original Phabricator Diff: D60064934 Reviewed By: kevinwilfong Differential Revision: D61240010 fbshipit-source-id: d19eb30c33cdfbbd16a58a2ae315da3af1f85d20
- Loading branch information
1 parent
3e02902
commit d176894
Showing
4 changed files
with
62 additions
and
214 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
Oops, something went wrong.