Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add cache of MethodWrapper instances and cache to NativeCall for .Net Standard 2.0. Should improve performance. #553

Closed
@dmitriyse

Description

@dmitriyse

Environment

  • Pythonnet version: Any
  • Python version: Any
  • Operating System: Any

Details

  • Describe what you were trying to get done.

    • new MethodWrapper instanced are created multiple times for the same .Net delegates.
    • also Marshal.GetDelegateForFunctionPointer can be cached to improve performance on .NetStandard
      2.0
    • with those two caches it's possible to gracefully overcome .net restriction described here
      https://github.com/dotnet/coreclr/issues/14362

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp