0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 16:45:42 +01:00
cpython/Include
Victor Stinner be75b8cf23 Issue #25349: Optimize bytes % int
Optimize bytes.__mod__(args) for integere formats: %d (%i, %u), %o, %x and %X.
_PyBytesWriter is now used to format directly the integer into the writer
buffer, instead of using a temporary bytes object.

Formatting is between 30% and 50% faster on a microbenchmark.
2015-10-09 22:43:24 +02:00
..
abstract.h
accu.h
asdl.h
ast.h
bitset.h
bltinmodule.h
boolobject.h
bytearrayobject.h
bytes_methods.h
bytesobject.h Add _PyBytesWriter_WriteBytes() to factorize the code 2015-10-09 12:57:22 +02:00
cellobject.h
ceval.h Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. 2015-07-03 01:04:23 -04:00
classobject.h
code.h PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
codecs.h
compile.h PEP 479: Change StopIteration handling inside generators. 2015-05-09 11:44:30 -04:00
complexobject.h
datetime.h
descrobject.h
dictobject.h Issue #24483: C implementation of functools.lru_cache() now calculates key's 2015-10-02 12:47:11 +03:00
dtoa.h
dynamic_annotations.h
enumobject.h
errcode.h
eval.h
fileobject.h
fileutils.h Issue #23524: Replace _PyVerify_fd function with calls to _set_thread_local_invalid_parameter_handler. 2015-04-12 00:26:27 -04:00
floatobject.h
frameobject.h
funcobject.h
genobject.h Issue #24400: Introduce a distinct type for 'async def' coroutines. 2015-06-22 12:19:30 -04:00
graminit.h PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
grammar.h
import.h
intrcheck.h
iterobject.h
listobject.h Issue #24221: Small optimizations for heapq. 2015-05-22 00:41:57 -07:00
longintrepr.h
longobject.h Issue #25349: Optimize bytes % int 2015-10-09 22:43:24 +02:00
marshal.h
memoryobject.h
metagrammar.h
methodobject.h Removed trailing whitespaces in miscalenous files. 2015-04-03 19:42:32 +03:00
modsupport.h Issue 24365: Conditionalize PEP 489 additions to the stable ABI 2015-06-02 19:06:47 -04:00
moduleobject.h Issue 24365: Conditionalize PEP 489 additions to the stable ABI 2015-06-02 19:06:47 -04:00
namespaceobject.h
node.h
object.h docs: Better comment for tp_as_async slot 2015-08-26 13:03:57 -04:00
objimpl.h
odictobject.h Issue #24347: Set KeyError if PyDict_GetItemWithError returns NULL. 2015-06-01 22:59:08 -06:00
opcode.h Issue #24400: Introduce a distinct type for 'async def' coroutines. 2015-06-22 12:19:30 -04:00
osdefs.h
parsetok.h
patchlevel.h Post-release updates for Python 3.5.0. 2015-09-13 15:36:07 +01:00
pgen.h
pgenheaders.h
py_curses.h
pyarena.h
pyatomic.h Issue #25150: Hide the private _Py_atomic_xxx symbols from the public 2015-09-18 15:06:34 +02:00
pycapsule.h
pyctype.h
pydebug.h
pyerrors.h Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. 2015-07-03 01:04:23 -04:00
pyexpat.h
pyfpe.h
pygetopt.h
pyhash.h
pylifecycle.h
pymacconfig.h
pymacro.h
pymath.h #21167: Fix definition of NAN when ICC used without -fp-model strict. 2015-08-15 18:33:45 -04:00
pymem.h
pyport.h Issue #23943: Fix typos. Patch by Piotr Kasprzyk. 2015-04-14 09:35:51 +03:00
pystate.h Issue #25150: Hide the private _Py_atomic_xxx symbols from the public 2015-09-18 15:06:34 +02:00
pystrcmp.h
pystrhex.h Add the files missing from c9f1630cf2b1 for issue9951. 2015-04-26 00:41:00 +00:00
pystrtod.h
Python-ast.h Issue #24965: Implement PEP 498 "Literal String Interpolation". Documentation is still needed, I'll open an issue for that. 2015-09-19 14:51:32 -04:00
Python.h Issue #16991: Add a C implementation of collections.OrderedDict. 2015-05-29 22:21:39 -06:00
pythonrun.h PEP 479: Change StopIteration handling inside generators. 2015-05-09 11:44:30 -04:00
pythread.h
pytime.h Issue #25155: Add _PyTime_AsTimevalTime_t() function 2015-09-18 13:36:17 +02:00
rangeobject.h
setobject.h Clarify comments on setentry invariants. 2015-08-01 15:21:41 -07:00
sliceobject.h
structmember.h
structseq.h
symtable.h remove the concept of an unoptimized function scope from the compiler, since it can't happen anymore 2015-04-27 21:44:22 -04:00
sysmodule.h
token.h PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
traceback.h Issue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add. 2015-06-21 15:59:46 +03:00
tupleobject.h
typeslots.h Issue 24365: Conditionalize PEP 489 additions to the stable ABI 2015-06-02 19:06:47 -04:00
ucnhash.h
unicodeobject.h Issue #25318: Add _PyBytesWriter API 2015-10-09 00:33:49 +02:00
warnings.h
weakrefobject.h