digitalmars.D - GC Jitter Reduction
- Suminda Dharmasena (7/7) Jun 16 2014 Hi,
- Paul O'Neil (3/11) Jun 16 2014 LDC does have an optimization pass that will move GC allocations
Hi, A lot of variables need not be GCed. By analysing usage you can determine when to deallocate. Even in multi threaded usage you can have reference counts on last usage points within each thread. Perhaps such a scheme might be worth debating with a view to improve performance and reduce jitter. Suminda
Jun 16 2014
LDC does have an optimization pass that will move GC allocations to the stack if it can prove that they do not escape. On Monday, 16 June 2014 at 20:29:01 UTC, Suminda Dharmasena wrote:Hi, A lot of variables need not be GCed. By analysing usage you can determine when to deallocate. Even in multi threaded usage you can have reference counts on last usage points within each thread. Perhaps such a scheme might be worth debating with a view to improve performance and reduce jitter. Suminda
Jun 16 2014