react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Invoke callableModule factory once

Open javache opened this issue 1 year ago • 2 comments

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

javache avatar May 14 '24 20:05 javache

This pull request was exported from Phabricator. Differential Revision: D57338528

facebook-github-bot avatar May 14 '24 20:05 facebook-github-bot

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

analysis-bot avatar May 14 '24 20:05 analysis-bot

This pull request has been merged in facebook/react-native@1343313dc6fd2b8bc111ec4ccf03d4aa05fcfff7.

facebook-github-bot avatar May 23 '24 19:05 facebook-github-bot

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?

github-actions[bot] avatar May 23 '24 19:05 github-actions[bot]