Am 09.01.2013 11:09, schrieb Mehrdad:
On Wednesday, 9 January 2013 at 10:07:42 UTC, deadalnix wrote:
Reference counting tend to create big pauses when deallocating
as objects tends to dies in group.




I don't get it... it's slower to deallocate a bunch of objects
together with refcounting than to deallocate all of them
individually over a longer period of time?


could be - think of an large hierarchy of objects which tends to take some time to deconstruct ... a background gc could be better for your application speed in this situation - by the cost of smaller pause and more resource usage

or better - what is the real reason for Java and C# for using garbage collectors if ref-counting will be always better (except cyclic stuff)?

Reply via email to