From 28648a1c53520eef8c799504ff61a35947f878b8 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Tue, 10 Oct 2023 02:00:28 +0200 Subject: [PATCH] perf: Use multiple threads for writing dex files This has an impact on memory, but should not cause any issues in the environment of ReVanced CLI. --- src/main/kotlin/app/revanced/cli/command/PatchCommand.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt b/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt index 53e04b5..69de207 100644 --- a/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt +++ b/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt @@ -204,6 +204,7 @@ internal object PatchCommand : Runnable { resourceCachePath, aaptBinaryPath?.path, resourceCachePath.absolutePath, + true ) ).use { patcher -> val filteredPatches = patcher.filterPatchSelection(patches).also { patches ->