diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-04-05 04:32:29 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-04-05 04:32:29 (GMT) |
commit | e70ddf3a99e5394faf17d78d0764929ae795b674 (patch) | |
tree | 9f95dfe9c3d7c4bee0f1598e077a8de770fbae33 /Objects/listobject.c | |
parent | d3dab2b19288139dfa6fc7c4f3302b734573f9dd (diff) | |
download | cpython-e70ddf3a99e5394faf17d78d0764929ae795b674.zip cpython-e70ddf3a99e5394faf17d78d0764929ae795b674.tar.gz cpython-e70ddf3a99e5394faf17d78d0764929ae795b674.tar.bz2 |
Widespread, but mostly in _PyMalloc_Malloc: optimize away all expensive
runtime multiplications and divisions, via the scheme developed with
Vladimir Marangozov on Python-Dev. The pool_header struct loses its
capacity member, but gains nextoffset and maxnextoffset members; this
still leaves it at 32 bytes on a 32-bit box (it has to be padded to a
multiple of 8 bytes).
Diffstat (limited to 'Objects/listobject.c')
0 files changed, 0 insertions, 0 deletions