Changes between Version 7 and Version 8 of JavaScript performance improvement ideas


Ignore:
Timestamp:
Oct 24, 2007 11:26:03 PM (17 years ago)
Author:
eric@webkit.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JavaScript performance improvement ideas

    v7 v8  
    1818 * Special-case numeric code. If we can prove some values are guaranteed to be numeric, we could evaluate expressions involving them purely using doubles, without converting intermediate values to immediate values or NumberImps at all.
    1919
    20  * Make the static lookup.h-style hashtables power-of-two sized to save the cost of integer divide. Another possible optimization is to store the static property names as UTF-16 arrays instead of strings.
     20 * Store static hashtable property names as UTF-16 arrays instead of c-strings for quicker key comparisons.
    2121
    2222 * Possibly do all property handling via the regular property map somehow, even native-code implemented properties, to avoid doing the extra lookup in the static hashtable at all.