Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop using a static unordered_map for string flag handlers
This switches the flag_to_function from a map to just an ordinary switch statement. This saves some memory/startup time and removes some relocations. No functional change here.
- Loading branch information
1 parent
aec8413
commit 61b09ff
Showing
1 changed file
with
30 additions
and
10 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