Skip to content

C# - Use Span<char> to stack allocate#4

Merged
JCash merged 1 commit intodefold:mainfrom
rametta:main
Nov 5, 2024
Merged

C# - Use Span<char> to stack allocate#4
JCash merged 1 commit intodefold:mainfrom
rametta:main

Conversation

@rametta
Copy link
Copy Markdown
Contributor

@rametta rametta commented Nov 5, 2024

I'm not sure how you're running the benchmarks so I couldn't test this, but this might improve the C# performance a bit more by replacing 1 heap allocation with a stackalloc

@JCash JCash merged commit 1fc988a into defold:main Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants