enableIntrinsicRemember

Deprecated (with error)

Use the featureFlags option instead. Will be removed in Kotlin 2.5.0

Enable 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.

It is enabled by default.

To change the default value, use the following code:

composeCompiler {
enableIntrinsicRemember.set(false)
}