Hi,
As I understand the code internally all 59 defined columns are
"allocated" in the treeview and data is written/retrieved
Using the columns enum, this causes a problem if more than one custom
column is added as data will be overwritten with the latest added
Column data and I guess it waists memory. I think this should be changed
to only allocate the number of used columns.

Is it a design goal to be able to add columns "on the fly" without
restarting WS? Is that possible in the treeview? If not a possible
solution
Could be to allocate a number of "extra columns" (5?) to the number of
columns set previously in preferences.

Some column data might take less memory to store as numbers and adding a
special renderer (Time, IPv4 address...).

Regards
Anders

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to