Prefer Vector or prepend for append-heavy workloads
ProprietaryFinds usage of the :+ operator to append to a List, which is O(n). Prefer Vector for append-heavy workloads or prepend with :: instead.
org. openrewrite. scala. performance. PreferVectorOrPrependmod run . --recipe= org. openrewrite. scala. performance. PreferVectorOrPrependInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.