Skip to content

Consider calling the managed methods from CastCache instead of having native implementation. #84448

@VSadov

Description

@VSadov

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions