mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-03-28 23:58:50 +08:00
[ASLayout] Small optimization to eliminate one method call in an extremely hot codepath.
This was observed with quantitative profiling results. We have some opportunities to micro-optimize the layout objects.
This commit is contained in:
@@ -113,6 +113,7 @@ extern BOOL CGPointIsNull(CGPoint point)
|
||||
return [self layoutWithLayoutableObject:layoutableObject
|
||||
constrainedSizeRange:sizeRange
|
||||
size:size
|
||||
position:CGPointNull
|
||||
sublayouts:nil];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user