Skip to content

Commit

Permalink
perf: Use multiple threads for writing dex files
Browse files Browse the repository at this point in the history
This has an impact on memory, but should not cause any issues in the environment of ReVanced CLI.
  • Loading branch information
oSumAtrIX committed Oct 10, 2023
1 parent daac988 commit 28648a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/kotlin/app/revanced/cli/command/PatchCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ internal object PatchCommand : Runnable {
resourceCachePath,
aaptBinaryPath?.path,
resourceCachePath.absolutePath,
true
)
).use { patcher ->
val filteredPatches = patcher.filterPatchSelection(patches).also { patches ->
Expand Down

0 comments on commit 28648a1

Please sign in to comment.