On 12/18/2011 1:31 PM, [email protected] wrote:
Create "Dehunked Entity Body" with O(N) rather than O(N^2) efffort.
  [Actually 1 g_malloc() + N tvb_memcpy() instead of
  ~ N g_malloc()/g_free() + N*(N+1)/2 tvb_memcpy() where N = number of chunks].

Correction: the above should have been:

Create "Dehunked Entity Body" with O(N) rather than O(N^2) efffort.

 [Actually 1 g_malloc() +
   N tvb_memcpy() copying N*chunksize bytes

 instead of

 ~ N g_malloc()/g_free() +
   2*N tvb_memcpy() copying (N*(N+1)/2)*chunksize bytes

 where N = number of chunks].

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:[email protected]?subject=unsubscribe

Reply via email to