react-native
react-native copied to clipboard
Invoke callableModule factory once
Summary: Store callable modules as either a factory function or an object, so we can skip invoking the factory function for frequently accessed objects.
Changelog: [Internal]
Differential Revision: D57338528
This pull request was exported from Phabricator. Differential Revision: D57338528
| Platform | Engine | Arch | Size (bytes) | Diff |
|---|---|---|---|---|
| android | hermes | arm64-v8a | 19,542,532 | -3 |
| android | hermes | armeabi-v7a | n/a | -- |
| android | hermes | x86 | n/a | -- |
| android | hermes | x86_64 | n/a | -- |
| android | jsc | arm64-v8a | 22,912,425 | +2 |
| android | jsc | armeabi-v7a | n/a | -- |
| android | jsc | x86 | n/a | -- |
| android | jsc | x86_64 | n/a | -- |
Base commit: 734ac42d61218de9c12828cd2d32a1802abcc4de Branch: main
This pull request has been merged in facebook/react-native@1343313dc6fd2b8bc111ec4ccf03d4aa05fcfff7.
This pull request was successfully merged by @javache in 1343313dc6fd2b8bc111ec4ccf03d4aa05fcfff7.
When will my fix make it into a release? | How to file a pick request?