-
Notifications
You must be signed in to change notification settings - Fork 21.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
List[index]::toOptionalStringRef (#42263)
Summary: Pull Request resolved: #42263 Allow a way to get a reference to the stored string in a `List<optional<string>>` without having to copy the string. This for example improves perf of the map_lookup op by 3x. ghstack-source-id: 109162026 Test Plan: unit tests Reviewed By: ezyang Differential Revision: D22830381 fbshipit-source-id: e6af2bc8cebd6e68794eb18daf183979bc6297ae
- Loading branch information
1 parent
f22aa60
commit b44a10c
Showing
4 changed files
with
21 additions
and
0 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