Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
YJIT: skip intermediate arrays in print_sorted_exit_counts (#7547)
Early total_exits condition. Replace Array#sort_by/first(how_many) with Array#max_by(how_many). Replace Array#map/max with Array#max_by, match print_counters style for longest_name_length.
- Loading branch information
1 parent
c65d7b4
commit 11f299f
Showing
1 changed file
with
10 additions
and
9 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