-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: Avoid allocating a String for each formatted operator (#4721)
* perf: Avoid allocating a String for each formatted operator Refactors the parse/display of operators to use a common macro which removes duplication and ensures that we cover all variants. I changed `ToString for LogicalOperator` to a `fmt::Display` implementation as there is a default implementation that auto implements `ToString` (`ToString for T where T: fmt::Display`). * chore: make generate
- Loading branch information
Markus Westerlind
authored
May 10, 2022
1 parent
d2753ff
commit 18f3d8e
Showing
3 changed files
with
71 additions
and
75 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