Hi guys I have a question regarding layouts. Why are Row, Column, Box and Layout inline functions?
Is it only for avoiding method calls and saving time?
Is there some other reason?
Why is not SubcomposeLayout also inline?
s
shikasd
06/25/2025, 1:16 PM
mostly performance, yes
SubcomposeLayout cannot meaningfully inline its content since the measure policy has to be allocated in any case