diff options
author | Mau Magnaguagno <maumagnaguagno@gmail.com> | 2023-03-17 11:29:42 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-17 10:29:42 -0400 |
commit | 11f299fab749bd2e0c5e49ca4db8c9c84b8e5970 (patch) | |
tree | 676ca58a072d972a1eae051baf2a37d8d513b589 /util.c | |
parent | c65d7b4bea170ffe4811534ab33b231f7f57d69f (diff) | |
download | ruby-11f299fab749bd2e0c5e49ca4db8c9c84b8e5970.tar.gz |
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.
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions