There was an error while loading. Please reload this page.
1 parent 30926b5 commit edbd813Copy full SHA for edbd813
1 file changed
src/Bits.cs
@@ -16,6 +16,7 @@ static class Bits
16
/// <summary>
17
/// Safe one-shot maximum amount to be allocated on stack for temporary buffers and alike.
18
/// </summary>
19
+ /// <see href="https://learn.microsoft.com/en-us/dotnet/standard/unsafe-code/best-practices#:~:text=For%20example%2C%201024%20bytes%20could%20be%20considered%20a%20reasonable%20upper%20bound." />
20
internal const int SafeStackMaxAllocSize = 1024;
21
22
0 commit comments