Wireshark-commits: [Wireshark-commits] rev 50434: /trunk/epan/ /trunk/epan/: proto.c

Date: Sun, 07 Jul 2013 17:13:17 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=50434

User: darkjames
Date: 2013/07/07 10:13 AM

Log:
 tree_is_expanded: make it bit array.
 
 Right now we have about 36K of ett items, and tree_is_expanded takes: 144K of memory (36K*sizeof(gboolean))
 By making tree_is_expanded bit array, it reduce size to 4.5K (36K/8)

Directory: /trunk/epan/
  Changes    Path          Action
  +15 -10    proto.c       Modified