Changes between Version 7 and Version 8 of JS Core Garbage Collector

Show
Ignore:
Timestamp:
07/30/07 18:05:46 (2 years ago)
Author:
john@johnmoe.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JS Core Garbage Collector

    v7 v8  
    3333 
    3434Cameron Zwarich / cwzwarich at uwaterloo.ca 
     35 
     36---- 
     37How about making less garbage?  If there is less garbage there will be less garbage to collect, right?  A seemingly simple change would be to make each StringNode cache (and protect) the JSValue* that execute() returns.  In my normal browsing, there seemed to be a reduction of about 12% in the number of allocates (and cells eventually collected).   
     38 
     39John Moe