-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Marshalling code during Color Translation, reduce allocations (#…
…9330) * replace heap allocs with stackallocs, get rid of unnecessary marshalling code * use Span<float> in the call chain and stackalloc small temp arrays of 3 floats * improve codegen/performance further (not included in benchmark) * remove redundant array initializations to zero
- Loading branch information
Showing
2 changed files
with
32 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters