Optimised by DJDM such that a reference count of 1 is represented by a
missing counter (i.e. null counter pointer). This eliminates many counter allocations and deallocations.
Authored by: andy_rushton 2016-02-08
Parent: [r587]
Child: [r589]