react-native/ReactCommon
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
..
cxxreact Remove Native Extensions 2018-05-21 12:21:56 -07:00
fabric Fabric: Composing YGNode object inside ShadowNode to avoid memory allocation overhead 2018-05-22 15:48:17 -07:00
jschelpers Back out "[JSC] Expose new methods to Custom/System JSC" 2018-05-22 09:53:54 -07:00
jsinspector Update license headers for MIT license 2018-02-16 18:31:53 -08:00
microprofiler Re-format BUCK to use recommended style. 2018-05-20 23:24:51 -07:00
privatedata Skylarkify RN defs. 2018-02-08 09:47:28 -08:00
yoga [yoga re-add assertion to check for owner reference before adding child. 2018-04-04 10:54:35 -07:00