IntrinsicRemember
Enable the intrinsic remember performance optimization.
Intrinsic Remember is an optimization mode which improves the runtime performance of your application by inlining remember
invocations and replacing .equals
comparison (for keys) with comparisons of the $changed
meta parameter when possible. This results in fewer slots being used and fewer comparisons being done at runtime.
This feature is enabled by default. To disable, provide this feature flag in a disabled state:
composeCompiler {
featureFlags = setOf(ComposeFeatureFlag.IntrinsicRemember.disabled())
}
Content copied to clipboard