Ignore:
Timestamp:
2013-12-13T08:28:45+01:00 (12 months ago)
Author:
moo
Message:

fixed #333: reduce memory usage for small or empty files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_cacher/xc_cacher.c

    r1477 r1478  
    865865    } 
    866866    CG(zend_lineno) = 0; 
    867 #endif 
    868  
    869     i = 1; 
    870 #ifndef ZEND_ENGINE_2_2 
    871     zend_hash_add(&EG(included_files), entry_php->entry.name.str.val, entry_php->entry.name.str.len+1, (void *)&i, sizeof(int), NULL); 
    872867#endif 
    873868 
     
    21882183    /* found entry */ 
    21892184    if (stored_entry && stored_php) { 
    2190         zend_llist_add_element(&CG(open_files), h); 
    21912185        return xc_compile_restore(stored_entry, stored_php TSRMLS_CC); 
    21922186    } 
Note: See TracChangeset for help on using the changeset viewer.