-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Special purpose inliner for Core.ifelse (#47096)
This function isn't used as much anymore now that Base.ifelse is an actual generic function, but it's still used in a few places across the ecosystem, and there currently isn't anything that would fold it for constant conditions, so add a special case inliner for it. This probably doesn't have a huge impact, but I happened to run into a case where it was causing annoying suboptimialities and it's a quick fix.
- Loading branch information
Showing
2 changed files
with
18 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