On Wednesday, 16 July 2014 at 18:24:11 UTC, H. S. Teoh via Digitalmars-d wrote:
They are just duals of each other, and optimized GC/RC algorithms tend
to approach the middle ground, with time/memory tradeoffs as an
adjustable parameter.

Not really. If you are performance conscious you structure your data and algorithms to match the tools you are using. Therefore performance oriented RC outperforms GC. You can have a lot more special-casing with RC in a realistic implementation. Few application authors consider rewriting the GC, but doing your own minimal overhead specialized RC is quite common…

Reply via email to