react-native-macos/ReactCommon/fabric/mounting
Valentin Shergin f8c5fa37d9 Fabric: `insertedPairs` in `calculateShadowViewMutations` now stores pointers (not values)
Summary:
This is a small micro-optimization in Diffing algorithm.
Seems we don't need to store full ShadowView objects in `insertedPairs` map, we can store only pointers to them. That can save memory and CPU cycles because we will not need to store full objects and copy shared pointers (which is somewhat expensive).

Reviewed By: mdvacca

Differential Revision: D15200498

fbshipit-source-id: 2a268c3ee80755555bff3317e10e679be1cf9830
2019-05-03 12:36:28 -07:00
..
stubs Fabric: Introspection (self testing in debug mode) in ShadowTree 2019-04-01 10:50:50 -07:00
tests Introducing `fabric/mounting` module 2018-11-27 18:34:14 -08:00
BUCK Fabric: Introspection (self testing in debug mode) in ShadowTree 2019-04-01 10:50:50 -07:00
Differentiator.cpp Fabric: `insertedPairs` in `calculateShadowViewMutations` now stores pointers (not values) 2019-05-03 12:36:28 -07:00
Differentiator.h Introducing `fabric/mounting` module 2018-11-27 18:34:14 -08:00
MountingTransaction.cpp Fabric: Introducing MountingTransaction 2019-04-20 10:53:16 -07:00
MountingTransaction.h Fabric: Introducing MountingTransaction 2019-04-20 10:53:16 -07:00
MountingTransactionSynchronizer.cpp Fabric: Fixed incorrect assert condition in MountingTransactionSynchronizer 2019-04-21 10:10:14 -07:00
MountingTransactionSynchronizer.h Fabric: Say hello to `MountingTransactionSynchronizer` 2019-04-20 10:53:16 -07:00
ShadowTree.cpp Fabric: A new way to compute nodes for `onLayout` event 2019-05-01 16:27:55 -07:00
ShadowTree.h Fabric: A new way to compute nodes for `onLayout` event 2019-05-01 16:27:55 -07:00
ShadowTreeDelegate.h Fabric: Introducing MountingTransaction 2019-04-20 10:53:16 -07:00
ShadowTreeRegistry.cpp Fabric `ShadowTree` (and co) was moved to `mounting` module 2019-04-01 10:50:50 -07:00
ShadowTreeRegistry.h Fabric `ShadowTree` (and co) was moved to `mounting` module 2019-04-01 10:50:50 -07:00
ShadowView.cpp Fabric: `getDebugDescription` for `ShadowView` and `ShadowViewMutation` 2019-04-04 12:38:22 -07:00
ShadowView.h Fabric: Introducing MountingTransaction 2019-04-20 10:53:16 -07:00
ShadowViewMutation.cpp Fabric: `getDebugDescription` for `ShadowView` and `ShadowViewMutation` 2019-04-04 12:38:22 -07:00
ShadowViewMutation.h Fabric: `getDebugDescription` for `ShadowView` and `ShadowViewMutation` 2019-04-04 12:38:22 -07:00