Show
Ignore:
Timestamp:
03/21/08 21:59:20 (8 months ago)
Author:
oliver@apple.com
Message:

Optimise lookup of Math, undefined, NaN and Infinity

Reviewed by Maciej

Added a method to JSVariableObject to allow us to inject DontDelete properties
into the symbol table and localStorage. This results in a 0.4% progression in
SunSpider, with a 8% gain in math-partial-sums.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r31225 r31226  
     12008-03-21  Oliver Hunt  <oliver@apple.com> 
     2 
     3        Reviewed by Maciej. 
     4 
     5        Optimise lookup of Math, undefined, NaN and Infinity 
     6 
     7        Added a method to JSVariableObject to allow us to inject DontDelete properties 
     8        into the symbol table and localStorage.  This results in a 0.4% progression in 
     9        SunSpider, with a 8% gain in math-partial-sums. 
     10 
     11        * kjs/JSGlobalObject.cpp: 
     12        (KJS::JSGlobalObject::reset): 
     13        * kjs/JSVariableObject.h: 
     14        (KJS::JSVariableObject::symbolTableInsert): 
     15 
    1162008-03-21  Oliver Hunt  <oliver@apple.com> 
    217