]> granicus.if.org Git - python/commit
This is the fastest I could get on Intel GCC. I kept the memset() in to clear
authorArmin Rigo <arigo@tunes.org>
Sun, 21 Mar 2004 20:27:49 +0000 (20:27 +0000)
committerArmin Rigo <arigo@tunes.org>
Sun, 21 Mar 2004 20:27:49 +0000 (20:27 +0000)
commit56716150e6e52a63ec8eaae5476b427684d22881
treeb74f62f4d1f04483254f9eebbcb6c6e102b156ab
parentabce8a681c499382de3cb8fbdf5b2eba036eca26
This is the fastest I could get on Intel GCC.  I kept the memset() in to clear
the newly created tuples, but tuples added in the freelist are now cleared in
tupledealloc already (which is very cheap, because we are already
Py_XDECREF'ing all elements anyway).

Python should have a standard Py_ZAP macro like ZAP in pystate.c.
Objects/tupleobject.c