Use a more succinct syntax to count by queues
`tally` is introduced since Ruby 2.7 and also adds small performance gain compared to the old approach (~ 1.6x).
Showing
Please register or sign in to comment
`tally` is introduced since Ruby 2.7 and also adds small performance gain compared to the old approach (~ 1.6x).