[New-bugs-announce] [issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two
STINNER Victor
report at bugs.python.org
Tue Jun 27 20:10:41 EDT 2017
New submission from STINNER Victor:
Currently, _PyCode_SetExtra() uses two memory block for code extras. Using a different structure, it would be possible to use a single memory block: less memory fragmentation, better CPU cache usage, less indirections, etc.
It matters since the long term plan for co_extras is to implement of kind-of JIT compiler insider CPython: see bpo-28158.
----------
components: Interpreter Core
messages: 297077
nosy: haypo
priority: normal
severity: normal
status: open
title: Redesign PyCodeObject.co_extras to use a single memory block, instead of two
type: performance
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30789>
_______________________________________
More information about the New-bugs-announce
mailing list