lib/fasterer/offense.rb in fasterer-0.1.6 vs lib/fasterer/offense.rb in fasterer-0.1.7

- old
+ new

@@ -60,10 +60,13 @@ proc_call_vs_yield: 'Calling blocks with call is slower than yielding', gsub_vs_tr: - 'Using tr is faster than gsub when replacing a single character in a string with another single character' + 'Using tr is faster than gsub when replacing a single character in a string with another single character', + + select_last_vs_reverse_detect: + 'Array#select.last is slower than Array#reverse.detect' } end end