Wireshark-commits: [Wireshark-commits] master 90e1232: Use faster string functions at startup.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=90e1232672446e79e75e5c6877310a49f23ae228
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
90e1232 by Gerald Combs (gerald@xxxxxxxxxxxxx):
Use faster string functions at startup.
Use wmem_strconcat and g_strconcat instead of wmem_strdup_printf and
g_strdup_printf when we register various protocols. This shows a fairly
significant speedup in the Visual Studio profiler.
Change-Id: I98709329513daa66ad3665925dc69149c43df884
Reviewed-on: https://code.wireshark.org/review/14855
Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Actions performed:
from 71f2b6e Remove -Warray-bounds, it is enabled by default with -Wall
adds 90e1232 Use faster string functions at startup.
Summary of changes:
epan/dissectors/packet-btatt.c | 14 ++++++++------
epan/dissectors/packet-diameter.c | 21 +++++++++++----------
epan/dissectors/packet-xml.c | 6 +++---
epan/oids.c | 17 +++++++++++++----
4 files changed, 35 insertions(+), 23 deletions(-)