Ignore:
Timestamp:
Jul 3, 2006 10:08:47 PM (18 years ago)
Author:
bennylp
Message:

Various performance improvements in PJSIP: (1) optimizing for common case to minimize stricmp() calls (header names, method, URI schemes), (2) added functionality in scanner to parse and unescape in-place, (3) etc..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_config.h

    r581 r583  
    128128#ifndef PJSIP_SAFE_MODULE 
    129129#   define PJSIP_SAFE_MODULE            1 
     130#endif 
     131 
     132 
     133/** 
     134 * If non-zero, SIP parser will unescape the escape characters ('%') 
     135 * in the original message, which means that it will modify the 
     136 * original message. Otherwise the parser will create a copy of 
     137 * the string and store the unescaped string to the new location. 
     138 * 
     139 * Unescaping in-place is faster, but less elegant (and it may 
     140 * break certain applications). So normally it's disabled, unless 
     141 * when benchmarking (to show off big performance). 
     142 * 
     143 * Default: 0 
     144 */ 
     145#ifndef PJSIP_UNESCAPE_IN_PLACE 
     146#   define PJSIP_UNESCAPE_IN_PLACE      0 
    130147#endif 
    131148 
Note: See TracChangeset for help on using the changeset viewer.