[Mono-devel-list] PROPOSED PATCH: small optimization in TemplateControl
Gonzalo Paniagua Javier
gonzalo at ximian.com
Tue Jan 27 19:21:27 EST 2004
El mié, 28-01-2004 a las 00:22, eric lindvall escribió:
> I found a small potential optimization in the TemplateControl class.
> I'm not sure if it makes sense that this code would be faster than the
> last, but my benchmarks showed a speedup with the change.
The was slow because of the call to GetMethods. I've changed it to use
GetMethod (name, bindingflags) instead and it should be fast enough now.
Thanks for pointing this out.
More information about the Mono-devel-list