This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch 1/2] Speed up JIT support


>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:

Paul> This is still showing non-linear growth, but the factors are much
Paul> nicer ;-)

Thanks for doing this.

Paul> +      const int num_longjmp_names
Paul> +	= sizeof (longjmp_names) / sizeof (longjmp_names[0]);

We have an ARRAY_SIZE macro for this (available in libiberty.h, included
everywhere via defs.h).  If you already committed, don't bother changing
it though.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]