Hey :wave:, I am wondering if it has an impact on ...
# compose
m
Hey 👋, I am wondering if it has an impact on the performance if multiple padding modifiers are chained together? Is
Modifier.padding(top=8.dp, start=4.dp, end=4.dp)
more performant than
Modifier.padding(top=8.dp).padding(start=4.dp, end=4.dp)
s
My guess would be that this should be negligible, just do what reads better in your codebase
👆 1
m
What I meant was from the compiler point of view. Will there be some optimization involved that would just merge these two into one?