fastruby / fastruby/fast-ruby

Refactoring code

Aperta
#169 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Suggestion
Lingua principale
Ruby
Stelle
5.7k
Fork
371
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I noticed that many examples in `code/` do not match the template.
```ruby
require "benchmark/ips"

def fast
end

def slow
end

Benchmark.ips do |x|
x.report("fast code description") { fast }
x.report("slow code description") { slow }
x.compare!
end
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.