Skip to content

Avoid a couple of redundant property loads.#15000

Merged
rwjblue merged 1 commit intoemberjs:masterfrom
bmeurer:AvoidRedundantPropertyLoads
Mar 11, 2017
Merged

Avoid a couple of redundant property loads.#15000
rwjblue merged 1 commit intoemberjs:masterfrom
bmeurer:AvoidRedundantPropertyLoads

Conversation

@bmeurer
Copy link
Contributor

@bmeurer bmeurer commented Mar 11, 2017

Due to the generally high level of polymorphism, these redundant property loads cannot be optimized appropriately by the JavaScript engines. So better just avoid them in the first place.

@rwjblue
Copy link
Member

rwjblue commented Mar 11, 2017

Awesome, thank you!

Copy link
Contributor

@scalvert scalvert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rwjblue rwjblue merged commit 5ff9fd5 into emberjs:master Mar 11, 2017
@bmeurer
Copy link
Contributor Author

bmeurer commented Mar 11, 2017

Nice. Thanks!

@bmeurer bmeurer deleted the AvoidRedundantPropertyLoads branch March 11, 2017 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants