-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Integrate April 1 RN nightly build. #7580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b4c7acb to
ee93cae
Compare
807c5b7 to
102dda5
Compare
|
Will look through this today. |
NickGerleman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skimmed through the upstream commits. LGTM
|
|
||
| MapBufferBuilder::MapBufferBuilder(uint16_t initialSize) { | ||
| keyValuesSize_ = initialSize; | ||
| keyValues_ = new Byte[keyValuesSize_]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rectified95 : I know this is from fb, but shouldn't this code be backed by a std::vector just to reduce risk of memory excurions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dannyvv The MapBuffer class has a bunch of potential issues, and the most we can do is submit PRs changing it - otherwise we take it 'as is' from core. (btw what's a memory excursion? There's some custom resize/allocation code in there, if that's what it means.) I think its goal is to be faster than STL.
I'll remove this file once the core PR is merged and we ingest it.
Commits: facebook/react-native@cfb5b5e...d04ec4d
vnext/ReactCommon/ReactCommon.vcxprojforTransactionTelemetryTestnew location.AccessibilityInfo.SendAccessibilityEventto align with facebook/react-native@eacc940MapBufferdue to a build break in VS (we treat missing cast warnings as errors). Tracking removal with: Remove fork of MapBufferBuilder.cpp #7591. PR in core fixing this: Add explicit type casts to fix compilation errors on Windows. facebook/react-native#31363Microsoft Reviewers: Open in CodeFlow