Use faster string functions at startup.
authorGerald Combs <gerald@wireshark.org>
Thu, 7 Apr 2016 20:05:27 +0000 (13:05 -0700)
committerGerald Combs <gerald@wireshark.org>
Thu, 7 Apr 2016 22:36:28 +0000 (22:36 +0000)
commit90e1232672446e79e75e5c6877310a49f23ae228
tree35a198bf526976a0928cef81f98c9a15587de03f
parent71f2b6e1b4a7d011c55441decbc4a1ec27d9bd9c
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@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
epan/dissectors/packet-btatt.c
epan/dissectors/packet-diameter.c
epan/dissectors/packet-xml.c
epan/oids.c