mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-10 01:02:22 +01:00
perf: compare types of classes
This commit is contained in:
parent
86db64edff
commit
55d694579a
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class BytecodeContext internal constructor(private val options: PatcherOptions)
|
|||
null,
|
||||
null
|
||||
).classes.forEach classDef@{ classDef ->
|
||||
val existingClass = classes.find { it == classDef } ?: run {
|
||||
val existingClass = classes.find { it.type == classDef.type } ?: run {
|
||||
logger.fine("Merging $classDef")
|
||||
classes.add(classDef)
|
||||
return@classDef
|
||||
|
|
Loading…
Reference in a new issue