refactor(jobs, allocator): optimize queues & dependencies
Major refactor of job system and memory allocator: - Replaced threadIndex with preferLocal for scheduling - Switched local queues to SPMCQueue for better performance - Introduced lock-free JobEdge pool for dependencies - Removed remainingBatches; use ref counting for completion - Updated all scheduling APIs and tests to new model - Optimized FreeList struct sizes and block management - Added allocation benchmarks - Disabled OwnershipTransferAnalyzer temporarily - Bumped assembly versions
This commit is contained in:
@@ -3,7 +3,7 @@ namespace Misaki.HighPerformance.Jobs;
|
||||
public readonly ref struct JobExecutionContext
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the index of the current thread executing the job.
|
||||
/// Gets the 0-based index of the current thread executing the job.
|
||||
/// </summary>
|
||||
public int ThreadIndex
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user