mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-110481: Implement biased reference counting (gh-110764)
This commit is contained in:
parent
05f2f0ac92
commit
6dfb8fe023
29 changed files with 511 additions and 52 deletions
|
@ -796,7 +796,10 @@ def check_cflags_pgo():
|
|||
return any(option in cflags_nodist for option in pgo_options)
|
||||
|
||||
|
||||
_header = 'nP'
|
||||
if sysconfig.get_config_var('Py_NOGIL'):
|
||||
_header = 'PHBBInP'
|
||||
else:
|
||||
_header = 'nP'
|
||||
_align = '0n'
|
||||
_vheader = _header + 'n'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue