Changes between Initial Version and Version 1 of StructPruning

Show
Ignore:
Timestamp:
10/13/09 18:28:38 (5 years ago)
Author:
chromatic
Comment:

Created page with suggestions for parrot_interp_t and PackFile

Legend:

Unmodified
Added
Removed
Modified
  • StructPruning

    v1 v1  
     1Some of Parrot's C data structures have too many members and those members are too large.  This hurts maintainability, increases memory use, and harms processor cache performance.  Here are some suggestions for pruning these structs. 
     2 
     3{{{parrot_interp_t}}} 
     4 * move into iglobals: 
     5  * {{{gc_registry}}} 
     6  * {{{class_hash}}} ? 
     7 * turn into flags: 
     8  * {{{world_inited}}} 
     9  * {{{sleeping}}} 
     10 * make into pointers: 
     11  * {{{runcores}}} 
     12  * {{{gc}}} 
     13   * {{{lo_var_ptr}}} 
     14   * {{{hi_var_ptr}}} 
     15  * {{{op libs}}} 
     16  * {{{compiler}}} 
     17  * {{{HLLs}}} 
     18  * {{{tasks}}} 
     19  * {{{runloop}}} 
     20  * {{{args/params}}} 
     21 
     22{{{PackFile}}} 
     23 * turn into flags: 
     24  * {{{is_mmap_ped}}} 
     25  * {{{need_wordsize}}}? 
     26  * {{{need_endianize}}}