fastruby / fastruby/fast-ruby

`String#match` vs `String#scan`

Open
#185 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
5.7k
Forks
371
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.