Wireshark-commits: [Wireshark-commits] rev 23118: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

User: morriss
Date: 2007/10/09 06:58 PM

 Replace a (small) for loop with a memset().  Don't memset() the entire sctp_info.tvb array--it contains 2k pointers (8k or 16k of memory)--each time we start dissecting a frame.  This speeds up loading a capture file full of SCTP packets by 6-8%.

Directory: /trunk/epan/dissectors/
  Changes    Path             Action
  +14 -5     packet-sctp.c    Modified