Ignore:
Timestamp:
Oct 24, 2007, 11:02:07 AM (18 years ago)
Author:
ggaren
Message:

Reviewed by Sam Weinig.


Inlined the fast path for creating an Identifier from an Identifier.


This is a .4% speedup on SunSpider overall, but as big as a 2.5%
speedup on certain individual tests. 65% of the Identifiers creating
by SunSpider are already Identifiers.


(The main reason I'm making this change is that it resolves a large
regression in a patch I haven't checked in yet.)

  • JavaScriptCore.exp:
  • kjs/identifier.cpp: (KJS::Identifier::addSlowCase):
  • kjs/identifier.h: (KJS::Identifier::Identifier::add):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.exp

    r26912 r26994  
    104104__Z23_NPN_CreateScriptObjectP4_NPPPN3KJS8JSObjectEN3WTF10PassRefPtrINS1_8Bindings10RootObjectEEES8_
    105105__Z25_NPN_CreateNoScriptObjectv
     106__ZN3KJS10Identifier11addSlowCaseEPNS_7UString3RepE
    106107__ZN3KJS10Identifier3addEPKNS_5UCharEi
    107108__ZN3KJS10Identifier3addEPKc
    108 __ZN3KJS10Identifier3addEPNS_7UString3RepE
    109109__ZN3KJS10Identifier5equalEPKNS_7UString3RepEPKc
    110110__ZN3KJS10throwErrorEPNS_9ExecStateENS_9ErrorTypeE
Note: See TracChangeset for help on using the changeset viewer.