Changeset 506 for trunk/utils.h


Ignore:
Timestamp:
2008-01-05T05:45:48+01:00 (7 years ago)
Author:
moo
Message:

optimized function_table/class_table by caching hash value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.h

    r496 r506  
    7272/* installer */ 
    7373#ifdef HAVE_XCACHE_CONSTANT 
    74 void xc_install_constant(char *filename, zend_constant *constant, zend_uchar type, zstr key, uint len TSRMLS_DC); 
     74void xc_install_constant(char *filename, zend_constant *constant, zend_uchar type, zstr key, uint len, ulong h TSRMLS_DC); 
    7575#endif 
    76 void xc_install_function(char *filename, zend_function *func, zend_uchar type, zstr key, uint len TSRMLS_DC); 
    77 ZESW(xc_cest_t *, void) xc_install_class(char *filename, xc_cest_t *cest, int oplineno, zend_uchar type, zstr key, uint len TSRMLS_DC); 
     76void xc_install_function(char *filename, zend_function *func, zend_uchar type, zstr key, uint len, ulong h TSRMLS_DC); 
     77ZESW(xc_cest_t *, void) xc_install_class(char *filename, xc_cest_t *cest, int oplineno, zend_uchar type, zstr key, uint len, ulong h TSRMLS_DC); 
    7878 
    7979/* sandbox */ 
Note: See TracChangeset for help on using the changeset viewer.