Changes between Version 4 and Version 5 of JavaScript performance improvement ideas
- Timestamp:
- Oct 22, 2007, 5:50:56 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JavaScript performance improvement ideas
v4 v5 1 Some ideas gathered over time: 1 '''What we're working on:''' 2 2 3 * Geoff is working on: Local variable lookup optimization. 4 * Oliver is working on: Split nodes with switch statements into more classes. 5 * Darin is working on: ??? 6 * Maciej is working on: ??? 7 * Eric is working on: ??? 8 9 '''Some ideas gathered over time: 10 ''' 3 11 * Make a JSGlobalObject class that needs to be used for an Interpreter's global object, and make Window subclass it. This would rRemove time spent in InterpreterMap hashtable, which should be a 1-2% improvement by itself. Various code needs to get from a global scope object back to the corresponding interpreter. If the global object was a specific JSObject subclass, it could store an interpreter to the global object directly. This change might also allow other simplifications. 4 12