Wireshark-commits: [Wireshark-commits] master a42df48: Use a pre allocated buffer in wmem_strdup_vp
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 17 May 2014 07:21:11 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a42df4818f97acb9630e33dea1eeaf3da7c2780d
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

a42df48 by AndersBroman (anders.broman@xxxxxxxxxxxx):

    Use a pre allocated buffer in wmem_strdup_vprintf() reduces the function
    cost by more than half.
    
    Change-Id: I6ad2ae407325d2091ffb60919cb3ed74f78f39fa
    Reviewed-on: https://code.wireshark.org/review/1662
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  ba3c0d7   Show EMM and ESM causes in the Info column
    adds  a42df48   Use a pre allocated buffer in wmem_strdup_vprintf() reduces the function cost by more than half.


Summary of changes:
 epan/wmem/wmem_strutl.c |   25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)