We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Severity: hint • Confidence: high • Auto-fix: ❌
hint
high
split("") → each_char — Use each_char instead of split("") to iterate over characters without allocating an array.
each_char
split("")
str.split("").each { |c| ... }
Note
See bench results at bench/cat-035/
bench/cat-035/
There was an error while loading. Please reload this page.