cpython/Objects
Raymond Hettinger b1b915c796 Issue 18719: Remove a false optimization
Remove an unused early-out test from the critical path for
dict and set lookups.

When the strings already have matching lengths, kinds, and hashes,
there is no additional information gained by checking the first
characters (the probability of a mismatch is already known to
be less than 1 in 2**64).
2013-08-13 18:16:34 -07:00
..
stringlib Issue 18719: Remove a false optimization 2013-08-13 18:16:34 -07:00
abstract.c Issue #16741: Fix an error reporting in int(). 2013-08-03 20:55:06 +03:00
accu.c Issue #14387: Do not include accu.h from Python.h. 2012-03-22 14:38:16 +01:00
boolobject.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
bytearrayobject.c Propagate error when PyByteArray_Resize() fails in bytearray_translate() 2013-07-21 02:04:35 +02:00
bytes_methods.c Issue #13738: Simplify implementation of bytes.lower() and bytes.upper(). 2012-01-08 16:22:46 +01:00
bytesobject.c Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxError 2013-02-10 17:42:01 +02:00
capsule.c Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99 2010-08-11 17:31:17 +00:00
cellobject.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
classobject.c Py_TYPE() has already dereferenced self before the NULL check. Moved Py_TYPE() after the check for self == NULL 2012-09-10 02:45:56 +02:00
codeobject.c Issue #15456: Fix code __sizeof__ after #12399 change. 2012-07-26 22:23:23 +02:00
complexobject.c Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args and str.format(args) 2012-05-29 12:57:52 +02:00
descrobject.c merge 3.2 (#14699) 2012-05-01 09:51:46 -04:00
dictnotes.txt Issue #15055: update dictnotes.txt. Patch by Mark Shannon. 2012-06-24 21:03:45 +02:00
dictobject.c Issue #17563: Fix dict resize performance regression. 2013-05-17 03:01:13 -07:00
enumobject.c Issue #14288: Serialization support for builtin iterators. 2012-04-03 10:49:41 +00:00
exceptions.c Issue #15784: Modify OSError.__str__() to better distinguish between 2012-08-28 19:33:26 +01:00
fileobject.c Issue #15989: Fix several occurrences of integer overflow 2013-01-19 12:41:45 +02:00
floatobject.c Fix a few typos and a double semicolon. Patch by Eitan Adler. 2013-01-27 06:20:14 +02:00
frameobject.c Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues 2012-06-22 14:55:41 -04:00
funcobject.c use new generic __dict__ descriptor implementations 2012-02-19 20:02:57 -05:00
genobject.c don't run frame if it has no stack (closes #17669) 2013-04-10 17:00:56 -04:00
iterobject.c Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in the stable ABI. 2012-04-05 00:04:20 +02:00
listobject.c Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues 2012-06-22 14:55:41 -04:00
listsort.txt Merged revisions 74613,74615,74619-74620,74622 via svnmerge from 2009-09-01 08:13:16 +00:00
lnotab_notes.txt Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00
longobject.c Issue #16741: Fix an error reporting in int(). 2013-08-03 20:55:06 +03:00
memoryobject.c Fix error messages. 2013-02-19 13:44:49 +01:00
methodobject.c Fix supernumerary 's' in sys._debugmallocstats() output. 2013-04-11 21:01:40 +02:00
moduleobject.c Issue #15394: Fix ref leaks in PyModule_Create. 2012-07-19 13:51:59 -05:00
namespaceobject.c Close #16160: Subclass support now works for types.SimpleNamespace. Thanks to RDM for noticing. 2012-10-16 22:35:38 -07:00
object.c merge 3.2 (#16369) 2012-10-30 23:27:52 -04:00
obmalloc.c fix building without pymalloc (closes #17228) 2013-02-20 16:54:30 -05:00
rangeobject.c Issue #16402: Merge fix from 3.2 2012-11-04 11:47:05 +00:00
setobject.c Silence compiler warning for an unused declaration 2013-08-04 12:00:36 -07:00
sliceobject.c Issue #14783: Merge changes from 3.2. 2012-10-07 14:56:27 -07:00
structseq.c Check for NULL return value in PyStructSequence_NewType(). Found by Coverity. 2012-08-19 11:20:41 +02:00
tupleobject.c Keep y a Py_hash_t instead of Py_uhash_t as it is compared with == -1 and the 2012-12-10 18:34:09 -08:00
typeobject.c when arguments are cells clear the locals slot (backport of #17927) 2013-05-14 22:31:26 -05:00
typeslots.inc remove __version__s dependent on subversion keyword expansion (closes #12221) 2011-05-31 20:52:17 -05:00
typeslots.py remove __version__s dependent on subversion keyword expansion (closes #12221) 2011-05-31 20:52:17 -05:00
unicodectype.c fix old titlecase function for extended case chars 2012-01-15 21:33:32 -05:00
unicodeobject.c Silence compiler warning about an uninitialized variable 2013-08-04 11:51:03 -07:00
unicodetype_db.h update to Unicode 6.1 2012-02-20 22:24:29 -05:00
weakrefobject.c Silence a -Wformat-extra-argument warning when compiling. 2013-02-01 16:14:00 -08:00