Updates:
        Status: Fixed

Comment #5 on issue 1239 by [email protected]: ES5 getter/setter performance
http://code.google.com/p/v8/issues/detail?id=1239

Starting with v8:12328, we finally made JavaScript accessors "first-class citizens": They are handled just like normal methods now, so they can even be inlined.

Only one small restriction remains: Inlining is restricted to simple accessor uses like 'print(foo.bar)' (simple getter) or 'foo.bar = 42' (simple setter). Compound assignments (+=, -=, etc.) and increment/decrement (++/--) currently don't handle inlining for accessor properties. This is not a v8 problem in principle, we just need some refactoring to make use of the existing machinery, which will probably happen soon.



--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to