This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Use stackalloc for multiple instances of arrays of constant size #22600
Labels
You can continue the conversation there. Go to discussion →
Description
Referencing #11846
searching for 'new char[' / 'new int[' reveals several instances where we allocate tiny temporary char arrays on the heap instead of stackallocing them.
This search reveals multiple simple optimizable instances.
Public API Changes
None
Intended Use-Case
Removing unnecessary allocations
The text was updated successfully, but these errors were encountered: