react-native/ReactCommon/fabric/view/root
Valentin Shergin d94a9e2640 Fabric: Composing YGNode object inside ShadowNode to avoid memory allocation overhead
Summary:
Given that fact that life-time of YGNode and ShadowNode objects must be idential and that we always allocate ShadowNode on heap,
we can embed YGNode object right inside ShadowNode object and use pointer to it safely.
That allows us to save additional memory allocation for every single layoutable shadow node! Whoo-hoo!

Reviewed By: fkgozali

Differential Revision: D8070121

fbshipit-source-id: 6eefbca1b7ac0a8aad235513b4c4899d414835f2
2018-05-22 15:48:17 -07:00
..
RootProps.cpp iOS: fix up RNTesterPods 2018-05-16 14:14:41 -07:00
RootProps.h Fabric: Devirtualizing of props parsing infra 2018-05-14 16:03:49 -07:00
RootShadowNode.cpp Fabric: Composing YGNode object inside ShadowNode to avoid memory allocation overhead 2018-05-22 15:48:17 -07:00
RootShadowNode.h Fabric: Introducing `RootShadowNode` 2018-05-08 23:03:36 -07:00