lib/fasterer/offense.rb in fasterer-0.1.3 vs lib/fasterer/offense.rb in fasterer-0.1.4
- old
+ new
@@ -60,10 +60,10 @@
proc_call_vs_yield:
'Calling blocks with call is slower than yielding',
gsub_vs_tr:
- 'Using tr when replacing one-character plain strings is faster than using gsub'
+ 'Using tr is faster than gsub when replacing a single character in a string with another single character'
}
end
end