Skip to content

CAT 046

unurgunite edited this page Jul 11, 2026 · 3 revisions

CAT-046 — reverse.reverse no-op

Severity: hint | Confidence: high | Auto-fix:

Description

reverse.reverse no-op — Calling reverse twice in a row produces the original array. Remove the redundant calls.

Bad code

ary.reverse.reverse

Benchmark

Note

See bench results at bench/cat-046/

Clone this wiki locally