DavePearce/Whiley — Issue #57: Improved Reference Counting
Author: DavePearce
Created: 2011-11-01 06:43:04+00:00
State: open

Currently, the reference counting scheme I have implemented is good, but it could be better. Specifically:

1. **Registers are not voided at control-flow splits**. This could provide some additional improvements.
2. **Coercions are not treated as consumers**. This means that, in principle, coercions could result in unnecessarily inflated reference counts --- thereby leading to lower performance.

There may be additional room for improvement as well.