mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Add speedups from pyston (#264)
This should make Python go 30% faster. It does that by trading away some debuggability, like _tracemalloc. It can be re-enabled using `make MODE=dbg`.
This commit is contained in:
parent
31dd714081
commit
27f7ffd4fd
15 changed files with 175 additions and 12 deletions
4
third_party/python/Lib/subprocess.py
vendored
4
third_party/python/Lib/subprocess.py
vendored
|
@ -263,8 +263,8 @@ def _args_from_interpreter_flags():
|
|||
|
||||
# -X options
|
||||
xoptions = getattr(sys, '_xoptions', {})
|
||||
for opt in ('faulthandler', 'tracemalloc',
|
||||
'showalloccount', 'showrefcount', 'utf8'):
|
||||
for opt in ('faulthandler', 'showalloccount',
|
||||
'showrefcount', 'utf8'):
|
||||
if opt in xoptions:
|
||||
value = xoptions[opt]
|
||||
if value is True:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue