react-native/ReactCommon/fabric/core/layout
Valentin Shergin ec5b1fd259 Fabric: Optimized ShadowNode::replaceChild() with `suggestedIndex` argument
Summary:
@public
In most cases callsite knows probable index of replacing child node, hence it makes sense to provide this info to `replaceChild` to illuminate O(n) search in most cases.

Reviewed By: mdvacca

Differential Revision: D8814809

fbshipit-source-id: 0edf82878a72260365e2757beb3886ad07c7464d
2018-07-17 22:53:56 -07:00
..
LayoutConstraints.h Fabric: Resonable default values for LayoutConstraints members 2018-05-08 23:03:36 -07:00
LayoutContext.h Fabric: `pointScaleFactor` is now part of LayoutContext and LayoutMetrics 2018-06-22 07:32:49 -07:00
LayoutMetrics.h Fabric: `pointScaleFactor` is now part of LayoutContext and LayoutMetrics 2018-06-22 07:32:49 -07:00
LayoutPrimitives.h Fabric: Using `enum class` for some graphics types 2018-04-10 17:15:08 -07:00
LayoutableShadowNode.cpp Simplifying child nodes management in YogaLayoutableShadowNode 2018-07-17 22:53:56 -07:00
LayoutableShadowNode.h Fabric: Optimized ShadowNode::replaceChild() with `suggestedIndex` argument 2018-07-17 22:53:56 -07:00