Open
Description
The AOT compiler supports inlining calls to Selector.GetHandle(string)
:
runtime/src/mono/mono/mini/intrinsics.c
Lines 1987 to 2027 in 2bdc3cb
and we'd like to add a new overload: Selector.GetHandle(ReadOnlySpan<byte>)
, where the constant value would be a UTF8 string:
Selector.GetHandle ("mySelector"u8);
And where the call to the new overload would also be optimized.
Would this be possible to implement?
CC @vargaz