Skip to content
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

Add "controller" local to TransformStream constructor #840

Merged

Conversation

ricea
Copy link
Collaborator

@ricea ricea commented Oct 12, 2017

The TransformStream constructor read the value of the controller back from the
this object after storing it there. Store it in a local variable instead to
avoid the redundant lookup.

The TransformStream constructor read the value of the controller back from the
this object after storing it there. Store it in a local variable instead to
avoid the redundant lookup.
@ricea ricea merged commit 20f9c64 into whatwg:master Oct 12, 2017
@ricea ricea deleted the transform-stream-constructor-add-controller-local branch October 12, 2017 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants