Conversation
599c750 to
f740369
Compare
f740369 to
d0225d1
Compare
|
ok this works fine because we put it through babel to deal with the arrow functions, but I wonder why node core couldn't use the arrow function? |
|
|
|
@mcollina s/arrow functions/inline closures/ |
|
@mscdex yes sorry. |
|
so readable stream is intended for use in all versions of node/multiple browsers so I'm not sure the wisdom of including optimizations for older platforms, chrome for instance will be negatively effected by this |
|
@calvinmetcalf Well, it's not just older node versions but also possibly other javascript engines that might not optimize the same things. I personally do not see a straight-forward solution because I just created these PRs because @mcollina had mentioned in the upstream node PR that he considered performance changes to be breaking. |
|
@calvinmetcalf using |
|
We are going to merge this on the next update, as decided in #252 |
|
Part of #262 |
This is anticipation of Writable changes landing in nodejs/node#6533
/cc @calvinmetcalf @mcollina