http://qs321.pair.com?node_id=219946


in reply to Re: Re^3: How I want my memory managed
in thread How I want my memory managed

I know all that. :) My point is that reference counting is a technique of garbage collection.. so you got your terminology mixed up. What you meant to say is mark&sweep vs refcounting.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re^5: How I want my memory managed
by MarkM (Curate) on Dec 15, 2002 at 02:48 UTC

    Ah yes... terminology... sorry... :-) Replace every occurrence of 'garbage collection' with 'non-reference counted garbage collection' in posts that I made. The reason I made it more vague, is because there are more ways to perform non-reference counted garbage collection than 'mark & sweep'. The most obvious example is a 'copy' garbage collector.

    Technically, you are definately correct that reference counting is a form of garbage collection.

      Uhhh...

      The information officer in Chaplin's movie about war is called 'Garbitch', so that means he's not using refcounting?

      Burp! Sorry, too much beer. =)

      dani++ (reference count increment)