-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize SubstringSetMatcher [patch 1/5, Build]
Do all work in a Build() member function, instead of in the constructor. This allows it to fail (without exceptions); right now, this can de facto never happen, but as we will reduce the maximum number of nodes to 2^23 in a later patch in this series, and start building these trees based on user-provided data, we need to be able to signal failure a little more gracefully. Change-Id: Icda6a3287c96410cf98a6204b4dc5067104fff8c Bug: 1319422 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3596139 Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org> Reviewed-by: Dominic Battré <battre@chromium.org> Commit-Queue: Steinar H Gunderson <sesse@chromium.org> Cr-Commit-Position: refs/heads/main@{#1001423}
- Loading branch information
Steinar H. Gunderson
authored and
Chromium LUCI CQ
committed
May 10, 2022
1 parent
25ac5db
commit 45e5abb
Showing
7 changed files
with
85 additions
and
39 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
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