cpython/Objects
INADA Naoki 35a96a25ee Issue #29383: reduce temporary interned unicode
add_methods(), add_members(), and add_getset() used PyDict_SetItemString()
to register descriptor to the type's dict.
So descr_new() and PyDict_SetItemString() creates interned unicode from same
C string.

This patch takes interned unicode from descriptor, and use PyDict_SetItem()
instead of PyDict_SetItemString().

python_startup_no_site:
  default: Median +- std dev: 12.7 ms +- 0.1 ms
  patched: Median +- std dev: 12.5 ms +- 0.1 ms
2017-01-28 16:35:44 +09:00
..
clinic Issues #29311, #29289: Fixed and improved docstrings for dict and OrderedDict 2017-01-25 00:30:04 +02:00
stringlib Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 2017-01-23 10:23:58 +02:00
README
abstract.c Issue #29360: _PyStack_AsDict() doesn't check kwnames 2017-01-24 15:05:30 +01:00
accu.c
boolobject.c
bytearrayobject.c Merge 3.6 2017-01-06 17:44:43 +09:00
bytes_methods.c remove all usage of Py_LOCAL 2016-09-09 13:54:34 -07:00
bytesobject.c Merge 3.6 2017-01-06 17:44:43 +09:00
capsule.c
cellobject.c fix indentation of comments in cellobject.c (closes #27011) 2016-05-12 23:12:21 -07:00
classobject.c method_call() and slot_tp_new() now uses fast call 2016-08-25 01:04:14 +02:00
codeobject.c Issue #29337: Fixed possible BytesWarning when compare the code objects. 2017-01-24 20:54:07 +02:00
complexobject.c Use _PyObject_CallNoArg() 2016-12-06 18:46:19 +01:00
descrobject.c Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 2017-01-23 09:47:21 +02:00
dict-common.h Issue #28818: Simplify lookdict functions 2016-12-07 20:41:42 +09:00
dictnotes.txt
dictobject.c Issues #29311, #29289: Fixed and improved docstrings for dict and OrderedDict 2017-01-25 00:30:04 +02:00
enumobject.c Issue #20186: Converted builtins enumerate() and reversed() to Argument Clinic. 2017-01-19 18:48:17 +02:00
exceptions.c Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 2017-01-23 09:47:21 +02:00
fileobject.c Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 2017-01-23 09:47:21 +02:00
floatobject.c Backed out changeset b9c9691c72c5 2016-12-04 22:59:09 +01:00
frameobject.c Issue #29049: Call _PyObject_GC_TRACK() lazily when calling Python function. 2016-12-24 20:19:08 +09:00
funcobject.c Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 2017-01-23 09:47:21 +02:00
genobject.c Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 2017-01-23 09:47:21 +02:00
iterobject.c Rename _PyObject_FastCall() to _PyObject_FastCallDict() 2016-08-22 22:48:54 +02:00
listobject.c Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 2017-01-23 09:47:21 +02:00
listsort.txt Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
lnotab_notes.txt Issue #26107: Fix typo in Objects/lnotab_notes.txt 2016-01-21 18:12:29 +01:00
longobject.c Backed out changeset b9c9691c72c5 2016-12-04 22:59:09 +01:00
memoryobject.c Merge 3.5. 2016-12-30 12:24:23 +01:00
methodobject.c Cleanup _PyMethodDef_RawFastCallDict() 2017-01-18 14:16:57 +01:00
moduleobject.c Issue #28748: Private variable _Py_PackageContext is now of type "const char *" 2016-11-21 10:25:54 +02:00
namespaceobject.c use c++ style comments 2016-09-07 14:12:36 -07:00
object.c Issue #28769: The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8() 2017-01-22 23:07:07 +02:00
obmalloc.c correct silly spelling problem 2016-09-18 19:24:52 -07:00
odictobject.c Issues #29311, #29289: Fixed and improved docstrings for dict and OrderedDict 2017-01-25 00:30:04 +02:00
rangeobject.c Issue #28376: Creating instances of range_iterator by calling range_iterator 2016-10-08 22:01:18 +03:00
setobject.c Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict. 2016-12-16 16:18:57 +02:00
sliceobject.c Issue #27867: Function PySlice_GetIndicesEx() is deprecated and replaced with 2017-01-25 13:27:44 +02:00
structseq.c Issue #28761: The fields name and doc of structures PyMemberDef, PyGetSetDef, 2016-11-22 07:58:08 +02:00
tupleobject.c Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 2017-01-23 09:47:21 +02:00
typeobject.c Issue #29383: reduce temporary interned unicode 2017-01-28 16:35:44 +09:00
typeslots.inc
typeslots.py Issue #26662: Set PYTHON_FOR_GEN in configure 2016-07-26 12:48:08 +02:00
unicodectype.c
unicodeobject.c Fix grammar in doc string, RST markup 2017-01-24 00:30:06 +00:00
unicodetype_db.h Unicode 9.0.0 2016-09-14 23:53:47 -07:00
weakrefobject.c Backed out changeset b9c9691c72c5 2016-12-04 22:59:09 +01:00

README

Source files for various builtin objects