Wireshark-commits: [Wireshark-commits] master b2e4a7e: Minimize allocations for frame tvbuffs and B
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 22 Jul 2016 04:18:27 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b2e4a7e21ce7ee8fee857ee71d51ad1ec13feb2e
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b2e4a7e by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Minimize allocations for frame tvbuffs and Buffers.
    
    Try to minimize the number of times we allocate memory for Buffers and
    Buffer data.
    
    Change-Id: I738fdc64e571772ef4ba6335d49087277dd7b430
    Reviewed-on: https://code.wireshark.org/review/16577
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  e3a15cf   Fix ERSPAN type II and type III offset.
    adds  b2e4a7e   Minimize allocations for frame tvbuffs and Buffers.


Summary of changes:
 frame_tvbuff.c  |   14 ++++++++++----
 wsutil/buffer.c |   25 ++++++++++++++++++++++---
 2 files changed, 32 insertions(+), 7 deletions(-)