Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan/ftypes ftype-ipv4.c ftype-string.c ftyp

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ronnie Sahlberg <sahlberg@xxxxxxxxxxxxxxxxx>
Date: Tue, 25 Nov 2003 07:20:36 -0600 (CST)
sahlberg    2003/11/25 07:20:36 CST

  Modified files:
    epan/ftypes          ftype-ipv4.c ftype-string.c ftypes-int.h 
                         ftypes.c ftypes.h 
  Log:
  fvalue_free() is one of the most called functions.
  This function is also very small, so small that teh overhead for the actual function call and return is likely to be a significant part
  of its execution time.
  
  change it into a macro and make it thus slightly faster by eliminating the function call overhead.
  
  Revision  Changes    Path
  1.14      +2 -2      ethereal/epan/ftypes/ftype-ipv4.c
  1.15      +2 -2      ethereal/epan/ftypes/ftype-string.c
  1.11      +1 -56     ethereal/epan/ftypes/ftypes-int.h
  1.13      +4 -19     ethereal/epan/ftypes/ftypes.c
  1.21      +70 -4     ethereal/epan/ftypes/ftypes.h