emberjs/ember.js — pull request #5600 by stefanpenner (2014-09-18 06:06:10+00:00)
Title: WIP

- [ ] if we do this it needs to be a build step (so firefox OS certified and PS3 certified apps can use it)
- [ ] make it work with super in mixins
- [ ] ember-cli mixin

Specific improvements doesn't really seem like much as we have already reduced superWrapper. But in terms of reducing overall cost of super, it is a really nice step. As this doesn't require a rebind, nor a super wrapper.

This should allow and enable further runtime optimizations as well as fix some existing super issues.

For example, if an error is thrown __nextSuper may not be restored correctly.

This may still have other implications I have not thought about yet.

before:

![screenshot 2014-09-18 01 58 59](https://cloud.githubusercontent.com/assets/1377/4315619/72ec7c9c-3ef9-11e4-85c6-b1a4d936ed17.png)

after:

![screenshot 2014-09-18 01 59 13](https://cloud.githubusercontent.com/assets/1377/4315620/788b73f6-3ef9-11e4-8009-d278a44056eb.png)