fork()

Graham Matthews graham at sloth.math.uga.edu
Tue Jun 8 18:31:41 CEST 1999


Tim Peters (tim_one at email.msn.com) wrote:
: OTOH, in a straightfoward mark-and-sweep GC scheme there will at least be a
: "mark bit" in each object header.  So under that, or under any form of
: compacting GC, the *entire live object space* will get copied, regardless of
: whether *you* reference anything in it or not.  So if RC truly sucks, what
: does that make GC <wink>?

But the reality is that copying memory can in fact speed applications
up! Think about locality of reference after you have copied all live
blocks to the start of memory.

graham

-- 
                      Je suis pour le communisme
                      Je suis pour le socialisme
                      Je suis pour le capitalisme
                     Parce que je suis opportuniste




More information about the Python-list mailing list