News for hackers. Stuff that matters.
Re:Why Python Is Slow: Looking Under the Hood by j_baker on Tuesday November 18, 2014 @02:56PM (#8625946)
Python also keeps refcounts for other objects that shouldn't be garbage collected such as None, True, and False. The reason being to prevent having certain objects that need to be refcounted and certain objects that don't. Otherwise, C code would be littered with if statements like the below:

    if (number < -5 || number > 256) {
      decrement_refcount(number);
    }
Re:Why Python Is Slow: Looking Under the Hood by Pxtl on Tuesday November 18, 2014 @05:03PM (#8626663)
To be fair, you'd expect that to live in decrement_refcount.