Skip to content

NativeArray変換を ゼロコピー化して最適化 - #2825

Merged
ousttrue merged 1 commit into
vrm-c:masterfrom
POPOPOinc:optimize-gc-memory2
Aug 20, 2026
Merged

NativeArray変換を ゼロコピー化して最適化#2825
ousttrue merged 1 commit into
vrm-c:masterfrom
POPOPOinc:optimize-gc-memory2

Conversation

@hadashiA

Copy link
Copy Markdown
Contributor

T[]ArraySegment など マネージドメモリを NativeArray に変換するコードについて、コピーするのではなく Memory<>.Pin を経由したゼロコピーの実装を使うようにする、という最適化です。

( #2824 のやり残し

@ousttrue ousttrue left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ReadOnlyMemory 👍

@ousttrue ousttrue added this to the v0.132.0 milestone Aug 20, 2026
@ousttrue
ousttrue merged commit 928b30e into vrm-c:master Aug 20, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants