Wireshark-commits: [Wireshark-commits] master b3bb951: Optimize display_signed_time() - remove g_sn

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 30 Apr 2014 22:07:47 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b3bb9515627824776d8c18d6ac63eca451c9f26f
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b3bb951 by Jakub Zawadzki (darkjames@xxxxxxxxxxxx):

    Optimize display_signed_time() - remove g_snprintf
    
    When tshark is printing columns (default) display_signed_time() is called for every frame.
    Current implemention is using g_snprintf() which makes this function costly when there is lot frames.
    
    Change-Id: I109c8699d38bfbd05475d457ae4173e937c6812d
    Reviewed-on: https://code.wireshark.org/review/1447
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  5dfd543   Fix uninitialized struct in SMB2
    adds  b3bb951   Optimize display_signed_time() - remove g_snprintf


Summary of changes:
 epan/to_str-int.h |    1 +
 epan/to_str.c     |   70 +++++++++++++++++++++++++++++++++++++++++++++--------
 2 files changed, 61 insertions(+), 10 deletions(-)