SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Fabric: Bunch of small changes in ContextContainer

Summary:
So, changes:
* Correctness checks only in debug mode (codesize win?);
* `registerInstance` marked as const (because it's thread safe);
* ContextContainer::Shared also enforces constness;
* Using faster better::map;
* Using shared/RW mutex instead of regular one;
* SharedContextContainer got removed.

Reviewed By: sahrens

Differential Revision: D14920284

fbshipit-source-id: f0f8d970e7fae79a1abe3bc32827db9fd2d17e13
V
Valentin Shergin committed
184cfd55944053e0dfdeb1b4b2d648d40c1910bd
Parent: cdf3343
Committed by Facebook Github Bot <facebook-github-bot@users.noreply.github.com> on 4/16/2019, 2:35:07 PM