react-native-macos/Libraries/TypeSafety
Vojtech Novak e325c9505a chore: RCTConvert - allocate array with capacity (#35490)
Summary:
this is a trivial change that allocates the NSMutableArray with the correct capacity before it is filled

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

[Internal] [Changed] - RCTConvertVecToArray - allocate array with capacity

Pull Request resolved: https://github.com/facebook/react-native/pull/35490

Test Plan: tested locally: the code builds and runs as expected

Reviewed By: cipolleschi

Differential Revision: D41548050

Pulled By: GijsWeterings

fbshipit-source-id: a5b947331d6c5fffcfecc7c20c827f42442b1ab8
2022-11-28 07:29:04 -08:00
..
RCTConvertHelpers.h chore: RCTConvert - allocate array with capacity (#35490) 2022-11-28 07:29:04 -08:00
RCTConvertHelpers.mm Remove clang-format opt-out for Libraries 2022-10-13 02:23:13 -07:00
RCTTypeSafety.podspec Update .podspec license information (#35245) 2022-11-07 09:52:52 -08:00
RCTTypedModuleConstants.h Remove clang-format opt-out for Libraries 2022-10-13 02:23:13 -07:00
RCTTypedModuleConstants.mm Remove clang-format opt-out for Libraries 2022-10-13 02:23:13 -07:00