Wireshark-commits: [Wireshark-commits] master a6de714: ui: Optimize col_custom_prime_edt()

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 22 Dec 2015 05:17:13 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a6de714ee1d179eb0e56e8d28b9aa6c27494af11
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

a6de714 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    ui: Optimize col_custom_prime_edt()
    
    The col_item->col_custom_fields_ids list does not change between
    packet so this can be initialized in build_column_format_array().
    
    Change-Id: I171b583912dbd1568c3d85159fac1ab435dcaa7c
    Reviewed-on: https://code.wireshark.org/review/12801
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  6f61a85   Don't write out statistics if we don't have any.
    adds  a6de714   ui: Optimize col_custom_prime_edt()


Summary of changes:
 epan/column-utils.c |   30 ------------------------------
 epan/column.c       |   17 +++++++++++++++++
 2 files changed, 17 insertions(+), 30 deletions(-)