Changes between Version 8 and Version 9 of JavaScript performance improvement ideas
- Timestamp:
- Oct 25, 2007, 12:26:26 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JavaScript performance improvement ideas
v8 v9 27 27 28 28 * Where possible, combine toPrimitive() conversion with later toString() / toNumber() call. 29 30 * A possible speedup for numbers: NumberImps could get allocated on separate special collector blocks, using half the normal cell size. When sweeping a number block, you never call destructors, since the NumberImp destructor does nothing. When making, you know that any object in the number page never really needs mark() called, it can just set the mark bit and go because it has no children to mark 31