Hi all,

Just a quick note to say that ES6 Classes (
https://hacks.mozilla.org/2015/07/es6-in-depth-classes/) are going to ride
the trains with 45. This will hopefully be quite useful for the Firefox
developer experience, as there have been many requests, both internal and
external, for classes support.

We are aware that there is room for performance improvement, but we wanted
to get classes support out to people for immediate use.

The current performance profile is as follows:

1. Class definition sites (and therefore functions/scripts/jsms that
contain them) are not jit-able. If a function is hot, do not include a
class definition directly inside it.
2. Instance and static methods defined in classes, however, *are* so long
as they do not reference super.

Work to improve this JIT integration is currently in flight. Look for
performance improvements in coming versions.

This has been a group effort. Many thanks for Jason Orendorff for his
guidance over the long course of this project.

Thanks,

Eric Faust
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to