]> granicus.if.org Git - python/commit
needforspeed: use PyObject_MALLOC instead of system malloc for small
authorJack Diederich <jackdied@gmail.com>
Sat, 27 May 2006 15:44:34 +0000 (15:44 +0000)
committerJack Diederich <jackdied@gmail.com>
Sat, 27 May 2006 15:44:34 +0000 (15:44 +0000)
commit2d40077b4fa3230240530e4e97fcd0b17b350915
tree362a024b2171aa00f22ac804476d2907ab999a0d
parent2b38e40a5a9ae50e13456fd2c22cd56e3ee372f2
needforspeed: use PyObject_MALLOC instead of system malloc for small
allocations.  Use PyMem_MALLOC for larger (1k+) chunks.  1%-2% speedup.
Modules/_sre.c