lib/fasterer/offense.rb in fasterer-0.1.1 vs lib/fasterer/offense.rb in fasterer-0.1.2
- old
+ new
@@ -60,10 +60,10 @@
proc_call_vs_yield:
'Calling blocks with call is slower than yielding',
gsub_vs_tr:
- 'Use tr instead of gsub when grepping plain strings'
+ 'Using tr when replacing one-character plain strings is faster than using gsub'
}
end
end