VM experts: Are polymorphic closures like`a=x=>y=>x+y; hi=a('hi'); two=a(2);` optimized as a single subroutine or two separate? cc @mraleph
-
-
Replying to @sebmarkbage
I.e. Does the instance matter for optimizations if the source function (the factory) is the same?
1 reply 0 retweets 0 likes -
Replying to @sebmarkbage
@sebmarkbage not an expert but my understanding is it would be two. Looking forward to@mraleph's response3 replies 0 retweets 1 like -
Replying to @stefanpenner
@stefanpenner@sebmarkbage in V8 closures produced by same literal right now share type-feedback so it will not be split1 reply 3 retweets 4 likes -
Replying to @mraleph
@mraleph : since when? /cc@stefanpenner@sebmarkbage3 replies 0 retweets 0 likes
@mraleph: also, cool!
/cc @stefanpenner @sebmarkbage
12:54 PM - 19 Dec 2015
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.