mono / gtk-sharp

Gtk# is a Mono/.NET binding to the cross platform Gtk+ GUI toolkit and the foundation of most GUI apps built with Mono
http://www.mono-project.com/GtkSharp
Other
428 stars 140 forks source link

Convert Timeout/Idle.Handler method from instance to static, so it's … #150

Closed DavidKarlas closed 8 years ago

DavidKarlas commented 8 years ago

…not JITed on every Application.Invoke

If method is instance instead of static every time it's passed as delegate to unmanaged code runtime(mono) needs to JIT it since "this" is part of JITed method, with this change JITing doesn't need to be performed anymore

Therzok commented 8 years ago

LGTM.