On Sun, Jul 07, 2013 at 10:52:26PM -0700, Guy Harris wrote:
>
> On Jul 7, 2013, at 8:59 PM, Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> wrote:
>
> > Attaching working PoC, listing all fields ordered by protocol takes some more time
> > (1.07s vs 0.04s compiled with -O0), but output is the same.
>
> What effect, if any, does it have on startup time? (Would it *reduce* startup time?)
I don't see any difference.
Ir numbers from callgrind tshark -G dunno:
before after
PROGRAM TOTALS 786,421,249 760,023,381
...
proto_register_field_array 282,673,087 256,598,790
3%?