Compiling python without garbage collector

Discussion in 'Python' started by Boris Boutillier, May 27, 2004.

  1. Is there a not too hackish way to compile Python without the garbage
    collector overhead ?

    Setting Py_TP_FLAGS_HAVE_GC to 0 in Include/object.h is not working and
    the configure flag has disappear.

    The gc overhead in all objects (3 words) is not invisible in memory, and
    exceeds the true gain of the gc in my application, so I was looking for a
    way to benchmark the two situation ( with and without gc overhead), is
    this possible ?

    Boris
     
    Boris Boutillier, May 27, 2004
    #1
    1. Advertising

  2. Boris Boutillier <> writes:

    > Is there a not too hackish way to compile Python without the garbage
    > collector overhead ?


    No, in short. The difficulties are in the trashcan mechanism that
    safely deallocates deeply nested structures, so maybe if you disable
    *that* as well...

    Cheers,
    mwh

    --
    Get out your salt shakers folks, this one's going to take more
    than one grain. -- Ator in an Ars Technica news item
     
    Michael Hudson, May 27, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jadhav, Alok
    Replies:
    9
    Views:
    332
    Thomas Rachel
    Nov 15, 2012
  2. Jadhav, Alok
    Replies:
    0
    Views:
    264
    Jadhav, Alok
    Sep 17, 2012
  3. Dennis Lee Bieber
    Replies:
    0
    Views:
    202
    Dennis Lee Bieber
    Sep 17, 2012
  4. Robert Miles
    Replies:
    0
    Views:
    283
    Robert Miles
    Nov 1, 2012
  5. Chris Angelico
    Replies:
    0
    Views:
    130
    Chris Angelico
    Apr 26, 2013
Loading...

Share This Page