Wireshark-commits: [Wireshark-commits] rev 23118: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Tue, 09 Oct 2007 18:58:36 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=23118

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

Log:
 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