-
Notifications
You must be signed in to change notification settings - Fork 0
CAT 023
unurgunite edited this page Jul 11, 2026
·
3 revisions
Severity:
info• Confidence:medium• Auto-fix: ❌
includes? on String → char comparison — Using includes? to check for a single character creates overhead. Use direct comparison or index.
str.includes?("a")Note
See bench results at bench/cat-023/