The Android documentation advises that Composable ...
# compose
s
The Android documentation advises that Composable functions shall have no side effects, and one of their reasons is that "Composable functions could be run in parallel" (https://developer.android.com/develop/ui/compose/mental-model#parallel) Compose doesn't do that (yet), but I'd love to know whether the Compose team is still considering doing that, and how big its impact on performance could be?
p
One of the 1.8.0 alphas mentions adding pausable composables which seems loosely related. I haven't seen any documentation explaining what that's all about though
z
Pausable composition is a feature that lets subcompositions be gradually subcomposed over multiple frames. So it runs compositions concurrently I guess, but not in parallel.
👍 2