-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid unnecessary memory reservation in hash probe to prevent query o…
…om (#11158) Summary: Pull Request resolved: #11158 Hash probe will always reserve memory based on the preferred output buffer size even when build side is building table. This can cause unnecessary spill or unused memory reservation. We shall only reserve memory when it has output to produce. Unit test is added. Reviewed By: oerling Differential Revision: D63789365 fbshipit-source-id: e3313e46c5ec6358c45ef82300f6791ff331fb2c
- Loading branch information
1 parent
f4ca3c6
commit 3f5584c
Showing
4 changed files
with
148 additions
and
110 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