Wireshark-commits: [Wireshark-commits] rev 35929: /trunk/tools/ /trunk/tools/: checkAPIs.pl
Date: Sat, 12 Feb 2011 03:53:31 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35929

User: morriss
Date: 2011/02/11 07:53 PM

Log:
 There is a better (and faster) way to see if all the members of one list are
 in another list: convert the 2nd list to a hash.  This speeds checking for ett_
 variables up considerably.
 
 Store the pattern to match ett_ variable names in a variable (since it's used 3
 times).
 
 Only match ett_ variable declarations that start on their own line (hopefully to
 speed things up a bit).

Directory: /trunk/tools/
  Changes    Path            Action
  +28 -24    checkAPIs.pl    Modified