You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve performance of LanguagePrimitives.TryConvertTo #7420
LanguagePrimitives.TryConvertTo is implemented by wrapping LanguagePrimitives.ConvertTo in exception handling, and return false if it failed.
This can be improved upon by using the ConversionData return from FigureConversion by checking if the Rank is ConversionRank.None before we try to call the conversion.
By doing an early exit, return we avoid the exceptions that are always thrown when there are no available conversions.
Activity