From Kovarththanan Rajaratnam via bug 3702:
authorStig Bjørlykke <stig@bjorlykke.org>
Sun, 12 Jul 2009 10:19:13 +0000 (10:19 -0000)
committerStig Bjørlykke <stig@bjorlykke.org>
Sun, 12 Jul 2009 10:19:13 +0000 (10:19 -0000)
commit27572c22f4c47b845c90700f46e27d239515531c
tree8a20bb03d20a569e22078dd31657e0eaa9bd66e3
parent052a2b965a424465fb87c83a5f2009b35471be8b
From Kovarththanan Rajaratnam via bug 3702:
This patch optimizes the data source name processing in add_new_data_source()
by delaying it. We now simply store the constant string and lazily compute the
name when needed. This gives a performance boost because we only need the name
if we have multiple data sources.

svn path=/trunk/; revision=29066
epan/dissectors/packet-dcerpc-eventlog.c
epan/frame_data.h
epan/libwireshark.def
epan/packet.c
epan/packet.h
gtk/main_proto_draw.c
print.c