[C# ] Improve string marshalling and reduce GC pressure #15545
Removed PinnedHandle
1575f228
Reduce the number of auxilary OrtMemoryAllocation instances
8bdf2300
Reuse pinned names
dd15bec2
Reduce a number of auxillary objects created to reduce GC pressure.
9a0ae723
Allocate input/output names in native heap to avoid pinning
3220cf49
Fix a comment
9f80b60b
Merge branch 'main' into yuslepukhin/gc_reduction
a3144e72
Introduce GetStringTensorElementBuffer
238c7750
Fill out string tensor straight to the native buffer
a5862d1c
yuslepukhin
dismissed their stale review
via a5862d1c
2 years ago
Address formatting failures
7c02b0d7
Address lint failures
4ee05bb7
Merge branch 'main' into yuslepukhin/gc_reduction
3a502268
Address comments
38b45b53
Merge branch 'main' into yuslepukhin/gc_reduction
415df195
Rename the new API OrtApi struct member
07824880
yuslepukhin
deleted the yuslepukhin/gc_reduction branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub