-
Notifications
You must be signed in to change notification settings - Fork 47.2k
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
[compiler][ez] Patch Array.concat object shape to capture callee #30074
Conversation
[ghstack-poisoned]
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This was a pretty rare pattern internally -- we almost ever reference |
Comparing: 133ada7...e724d4d Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: Expand to show
|
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.
nice
@@ -237,7 +237,7 @@ addObject(BUILTIN_SHAPES, BuiltInArrayId, [ | |||
kind: "Object", | |||
shapeId: BuiltInArrayId, | |||
}, | |||
calleeEffect: Effect.Read, | |||
calleeEffect: Effect.Capture, |
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.
I really want to redo our effects system, the current groupings are imprecise since it captures the content but not the array itself. But the tests cases look good so this is fine, just an aside.
…callee" [ghstack-poisoned]
ghstack-source-id: 503fbf8f76e1cd10095b44cf180863221710774f Pull Request resolved: #30074
Stack from ghstack (oldest at bottom):