Gesture recognizers unnecessarily produce registrar methods calling into generic class #18597
Labels
enhancement
The issue or pull request is an enhancement
performance
If an issue or pull request is related to performance
Milestone
Static registrar calls are extremely inefficient when the target is a generic class. This happens to produce that code in the binding themselves:
xamarin-macios/src/UIKit/UIGestureRecognizer.cs
Lines 79 to 92 in 403d017
It can likely be avoided by introducing non-generic parent. It's also a non-issue with the new managed static registrar.
The text was updated successfully, but these errors were encountered: