mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Experiment with making Python go faster
The goal is to put the compiled pyc files in the APE ZIP.
This commit is contained in:
parent
4486ad5c9e
commit
ebb8c85496
33 changed files with 9483 additions and 1859 deletions
3
third_party/python/pyconfig.h
vendored
3
third_party/python/pyconfig.h
vendored
|
@ -1,5 +1,6 @@
|
|||
#ifndef Py_PYCONFIG_H
|
||||
#define Py_PYCONFIG_H
|
||||
#include "libc/dce.h"
|
||||
#include "third_party/zlib/zlib.h"
|
||||
|
||||
/* Define if building universal (internal helper macro) */
|
||||
|
@ -1360,7 +1361,9 @@
|
|||
/* #undef WITH_NEXT_FRAMEWORK */
|
||||
|
||||
/* Define if you want to compile in Python-specific mallocs */
|
||||
#ifndef __FSANITIZE_ADDRESS__
|
||||
#define WITH_PYMALLOC 1
|
||||
#endif
|
||||
|
||||
/* Define if you want to compile in rudimentary thread support */
|
||||
/* #undef WITH_THREAD */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue