http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=44954
User: morriss
Date: 2012/09/17 02:30 PM
Log:
Rather than reading the dissectors line by line and searching for the
registration and handoff routines in each line, read the whole file into
memory and then do one findall() search. Store the matches in sets to avoid
duplication.
(This also simplifies the number of regexps we're looking for.)
This speeds up the generation of register.c (when there is no cache)
significantly (on my system the time taken drops from ~32 seconds to ~5
seconds).
Directory: /trunk/tools/
Changes Path Action
+30 -35 make-dissector-reg.py Modified