You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libraries/tools/kotlin-compose-compiler/src/common/kotlin/org/jetbrains/kotlin/compose/compiler/gradle/ComposeCompilerGradlePluginExtension.kt
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -73,8 +73,17 @@ abstract class ComposeCompilerGradlePluginExtension @Inject constructor(objectFa
73
73
* Intrinsic Remember is an optimization mode which improves the runtime performance of your application by inlining `remember`
74
74
* invocations and replacing `.equals` comparison (for keys) with comparisons of the `$changed` meta parameter when possible. This
75
75
* results in fewer slots being used and fewer comparisons being done at runtime.
76
+
*
77
+
* It is enabled by default.
78
+
*
79
+
* To change the default value, use the following code:
80
+
* ```
81
+
* composeCompiler {
82
+
* enableIntrinsicRemember.set(false)
83
+
* }
84
+
* ```
76
85
*/
77
-
val enableIntrinsicRemember:Property<Boolean> = objectFactory.property(Boolean::class.java).convention(false)
86
+
val enableIntrinsicRemember:Property<Boolean> = objectFactory.property(Boolean::class.java).convention(true)
78
87
79
88
/**
80
89
* Remove groups around non-skipping composable functions.
Copy file name to clipboardExpand all lines: libraries/tools/kotlin-compose-compiler/src/functionalTest/kotlin/org/jetbrains/kotlin/compose/compiler/gradle/ExtensionConfigurationTest.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ class ExtensionConfigurationTest {
Copy file name to clipboardExpand all lines: libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/ComposeIT.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ class ComposeIT : KGPBaseTest() {
0 commit comments