Skip to content

Commit 6b040f7

Browse files
authored
Update README.md
1 parent 699c59b commit 6b040f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ The performance of layout and drawing is almost equivalent to a single Flex or S
3434
performance of constraint calculation is roughly 0.01 milliseconds (layout of general complexity, 20
3535
child elements). Constraints are only recalculated after they have changed.
3636

37+
ConstraintLayout itself can be arbitrarily nested without performance issues, each child element in the render tree is only laid out once, and the time complexity is O(n) instead of O(2n) or worse.
38+
3739
A smaller Widget tree leads to less build time and a smaller Element tree. A very flat layout
3840
structure results in a smaller RenderObject tree and less rendering time. One thing most people tend
3941
to overlook is that complex nesting can cause build times to sometimes exceed render times.

0 commit comments

Comments
 (0)