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

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: Wed, 26 Nov 2003 06:22:22 -0600 (CST)
sahlberg    2003/11/26 06:22:22 CST

  Modified files:
    epan                 proto.c proto.h 
  Log:
  Speed updates
  
  create generic macros for allocating/freeing structures.
  
  remove one more slow GMemChunk and replace it with a simple linked list
  
  ~4% speed improvement in my tests.
  
  the allocated data is never freed.   this may be a problem if ethereal is
  ever supported on a platform lacking resource tracking but makes the
  implementation faster and simpler.
  
  Revision  Changes    Path
  1.116     +47 -92    ethereal/epan/proto.c
  1.48      +6 -5      ethereal/epan/proto.h