Wireshark mailing list archives
Optimizations (tvbuff)
From: Anders Broman <anders.broman () ericsson com>
Date: Wed, 16 Oct 2013 15:36:40 +0000
Hi, I just noted that tvb_get_string is quite expensive looking at the code I can see that it calls tvb_memcpy both routines have length check Which seems unnecessary I've included a patch for review. Feel free to apply if it looks OK. There may be similar cases if someone cares to take a look :) Regards Anders
Attachment:
tvbuff.patch
Description: tvbuff.patch
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Optimizations (tvbuff) Anders Broman (Oct 16)