Changeset 36401 in webkit for trunk/JavaScriptCore/VM/Opcode.h


Ignore:
Timestamp:
Sep 14, 2008, 1:18:49 AM (17 years ago)
Author:
[email protected]
Message:

Bug 20821: Cache property transitions to speed up object initialization
https://bugs.webkit.org/show_bug.cgi?id=20821

Reviewed by Cameron Zwarich.

Implement a transition cache to improve the performance of new properties
being added to objects. This is extremely beneficial in constructors and
shows up as a 34% improvement on access-binary-trees in SunSpider (0.8%
overall)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/Opcode.h

    r36317 r36401  
    9898        macro(op_get_string_length) \
    9999        macro(op_put_by_id) \
     100        macro(op_put_by_id_transition) \
    100101        macro(op_put_by_id_replace) \
    101102        macro(op_put_by_id_generic) \
Note: See TracChangeset for help on using the changeset viewer.