fastruby / fastruby/fast-ruby

`String#match` vs `String#scan`

Aperta
#185 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Ruby
Stelle
5.7k
Fork
371
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hello.

These methods are pretty similar.

I've done some benchmarks and figured out that `match` is twice faster than `scan`.

I can try to make a PR, but not sure do we need for it here.

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.