Files
react-native/ReactAndroid/src/main/java/com/facebook/react
Samuel SuslaandFacebook GitHub Bot e97e3499c3 Avoid string copy in event dispatching
Summary:
Changelog: [internal]

To avoid unnecessary string copy in event pipeline, use move semantics.

Event pipeline has ownership of event type. Passing it by reference ends up in a copy when `RawEvent` object is constructed. To avoid this, pass string by value through each layer and use move semantics to avoid extra copies.

Reviewed By: javache

Differential Revision: D34392608

fbshipit-source-id: c11d221be345665e165d9edbc360ba5a057e3890
2022-03-08 04:28:51 -08:00
..
2022-02-22 12:23:49 -08:00
2022-02-22 12:23:49 -08:00
2022-03-08 03:58:58 -08:00
2022-03-04 15:42:52 -08:00
2022-03-08 03:58:58 -08:00
2021-09-01 11:26:27 -07:00