userDaniel Pcancel
branchrust_reboot/main/dynamic_object_work_queue_shrinkingcancel

2 Commits over 0 Days - ∞cph!

3 Hours Ago
Update: debug.printqueues now also prints queue capacity Tests: printed queues while being blasted by turrets
4 Hours Ago
Optim: ObjectWorkQueue now shrinks to dynamically adjusted minimal capacity instead of 0 - explicitly calling Clear resets the state back to inital 256 capacity Grows capacity by 10% every minute if 60 overcapacity events have been recorded. This should eliminate allocations for bursty workloads in long term. Tests: visited outpost, got blasted by turrets