mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +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
9
third_party/python/Include/cosmo.h
vendored
Normal file
9
third_party/python/Include/cosmo.h
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
#ifndef Py_COSMO_H
|
||||
#define Py_COSMO_H
|
||||
#include "third_party/python/Include/object.h"
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
PyMODINIT_FUNC PyInit_cosmo(void);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !Py_IMPORT_H */
|
Loading…
Add table
Add a link
Reference in a new issue