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 <rep...@bugs.python.org>
<http://bugs.python.org/issue30789>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to