cpython/Objects
Raymond Hettinger fd7ed407d7 Give meaning to the oparg for BUILD_MAP: estimated size of the dictionary.
Allows dictionaries to be pre-sized (upto 255 elements) saving time lost
to re-sizes with their attendant mallocs and re-insertions.

Has zero effect on small dictionaries (5 elements or fewer), a slight
benefit for dicts upto 22 elements (because they had to resize once
anyway), and more benefit for dicts upto 255 elements (saving multiple
resizes during the build-up and reducing the number of collisions on
the first insertions).  Beyond 255 elements, there is no addional benefit.
2007-12-18 21:24:09 +00:00
..
stringlib Made _ParseTupleFinds only defined to unicodeobject.c 2007-11-16 19:16:15 +00:00
abstract.c Fix Issue 1045. 2007-12-06 00:56:53 +00:00
boolobject.c Add a bunch of GIL release/acquire points in tp_print implementations and for 2007-09-17 03:28:34 +00:00
bufferobject.c Coverity #151: Remove deadcode. 2007-10-04 06:00:48 +00:00
cellobject.c Issue #1445: Fix a SystemError when accessing the ``cell_contents`` 2007-11-24 13:44:17 +00:00
classobject.c As per Armin Rigo's suggestion, remove special handing from intobject.c to deal with the peculiarities of classobject's implementation of the number protocol. The nb_long method of classobject now falls back to nb_int if there is no __long__ attribute present. 2007-05-07 16:46:54 +00:00
cobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
codeobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
complexobject.c Shut up a compiler warning. 2007-12-03 22:02:10 +00:00
descrobject.c Fixed bug #1620: New @spam.getter property syntax modifies the property in place. 2007-12-14 02:35:23 +00:00
dictnotes.txt Patch #1397848: add the reasoning behind no-resize-on-shrinkage. 2007-02-15 09:51:35 +00:00
dictobject.c Give meaning to the oparg for BUILD_MAP: estimated size of the dictionary. 2007-12-18 21:24:09 +00:00
doubledigits.c Backport of r59456:59458 from py3k to trunk 2007-12-10 22:28:56 +00:00
enumobject.c enumerate() is no longer bounded to using sequences shorter than LONG_MAX. The possibility of overflow was sending some newsgroup posters into a tizzy. 2007-10-03 21:18:11 +00:00
exceptions.c Patch #1537 from Chad Austin 2007-12-03 20:01:02 +00:00
fileobject.c Note that open() is the preferred way to open files (issue 1510). 2007-12-08 14:37:43 +00:00
floatobject.c The new float repr causes too much trouble and pain. I'm disabling the feature until we have sorted out the issues on all machines. 64bit machines seem to have issues and Guido has reported even worse. 2007-12-11 00:54:34 +00:00
frameobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
funcobject.c Backport of the PCbuild9 directory from the py3k branch. 2007-11-22 11:21:16 +00:00
genobject.c Generators had their throw() method allowing string exceptions. That's a 2007-09-11 21:02:28 +00:00
intobject.c Add a bunch of GIL release/acquire points in tp_print implementations and for 2007-09-17 03:28:34 +00:00
iterobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
listobject.c Optimize PyList_AsTuple(). Improve cache performance by doing the 2007-12-15 00:07:25 +00:00
listsort.txt typo fix 2006-08-01 16:24:30 +00:00
longobject.c Issue #1772851. Alters long.__hash__ from being *almost* completely 2007-09-19 15:10:06 +00:00
methodobject.c Backport of the PCbuild9 directory from the py3k branch. 2007-11-22 11:21:16 +00:00
moduleobject.c Implement PEP 366 2007-12-03 12:55:17 +00:00
object.c Backport of _abccoll.py by Benjamin Arangueren, issue 1383. 2007-11-22 00:55:51 +00:00
obmalloc.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
rangeobject.c Remove "static forward" declaration. Move constructors 2006-04-11 09:04:12 +00:00
setobject.c Backport of _abccoll.py by Benjamin Arangueren, issue 1383. 2007-11-22 00:55:51 +00:00
sliceobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
stringobject.c When splitting, avoid making a copy of the string if the split doesn't find 2007-12-08 15:33:24 +00:00
structseq.c Improve extended slicing support in builtin types and classes. Specifically: 2007-08-28 15:28:19 +00:00
tupleobject.c Fix error introduced by r58288; if a tuple is length 0 return its repr and 2007-09-30 20:37:19 +00:00
typeobject.c Backport of _abccoll.py by Benjamin Arangueren, issue 1383. 2007-11-22 00:55:51 +00:00
unicodectype.c Patch 1494554: Update numeric properties to Unicode 4.1. 2006-05-27 08:36:52 +00:00
unicodeobject.c The incremental decoder for utf-7 must preserve its state between calls. 2007-11-20 23:31:27 +00:00
unicodetype_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
weakrefobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00