diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-07-12 10:19:13 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-07-12 10:19:13 +0000 |
commit | 27572c22f4c47b845c90700f46e27d239515531c (patch) | |
tree | 8a20bb03d20a569e22078dd31657e0eaa9bd66e3 /epan/libwireshark.def | |
parent | 052a2b965a424465fb87c83a5f2009b35471be8b (diff) |
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
Diffstat (limited to 'epan/libwireshark.def')
-rw-r--r-- | epan/libwireshark.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/libwireshark.def b/epan/libwireshark.def index f3456b8088..462350bf28 100644 --- a/epan/libwireshark.def +++ b/epan/libwireshark.def @@ -485,6 +485,7 @@ get_column_title get_column_width_string get_datafile_dir get_datafile_path +get_data_source_name get_dirname get_dissector_table_selector_type get_dissector_table_ui_name |