Changeset 1478 in svn for trunk/mod_cacher/xc_cacher.c


Ignore:
Timestamp:
2013-12-13T07:28:45Z (21 months ago)
Author:
Xuefer
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.