Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan proto.c tvbuff.c tvbuff.h

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

From: sahlberg@xxxxxxxxxxxx (Ronnie Sahlberg)
Date: Wed, 3 Dec 2003 03:50:41 -0600 (CST)
sahlberg    2003/12/03 03:50:41 CST

  Modified files:
    epan                 proto.c tvbuff.c tvbuff.h 
  Log:
  performance update
  
  replace tvb_raw_offset() which is essentially a simple assignment and which
  is called a lot with a macro.
  
  this makes my tethereal testcase 2-3% faster.
  
  Revision  Changes    Path
  1.123     +3 -5      ethereal/epan/proto.c
  1.53      +2 -11     ethereal/epan/tvbuff.c
  1.36      +5 -2      ethereal/epan/tvbuff.h