revanced-patcher icon indicating copy to clipboard operation
revanced-patcher copied to clipboard

Redundancy of MutableClass

Open oSumAtrIX opened this issue 2 years ago • 0 comments

A proposal was made by @Lucaskyy to fork dexlib2 and make all fields mutable by default. The gain of that would be, that we do not have to create a clone of the classes via a MutableClass instance. Although, MutableClasses are basically free as we lazily instantiate fields and thus require the least memory possible. At the same time we do not need to expose all fields of the classes by forking dexlib2.

oSumAtrIX avatar Apr 01 '22 21:04 oSumAtrIX