Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Scheduling.cs
Go to the documentation of this file.
2
3internal static class Scheduling
4{
6
7 internal static int GetDefaultDegreeOfParallelism()
8 {
10 }
11
12 internal static int GetDefaultChunkSize<T>()
13 {
14 if (typeof(T).IsValueType)
15 {
16 return 128;
17 }
18 return 512 / IntPtr.Size;
19 }
20}
static int ProcessorCount
static int GetDefaultChunkSize< T >()
Definition Scheduling.cs:12
static int GetDefaultDegreeOfParallelism()
Definition Scheduling.cs:7
static byte Min(byte val1, byte val2)
Definition Math.cs:912
static int Size
Definition IntPtr.cs:21