Re: #84430 (comment)
The obvious goal is the code reuse.
There are some open questions here:
- is it possible at all within current implementation to switch use of the native implementation to managed. Switching just some calls may not be interesting.
- switching the adding to the cache seems more likely to work, but what about TryGet - can it be done as a call to managed, would it be fast enough?
- would moving some cast helpers out to managed code help or benefit from such change?