mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Perform build and magnum tuning
Building o//third_party/python now takes 5 seconds on my PC This change works towards modifying Python to use runtime dispatching when appropriate. For example, when loading the magnums in the socket module, it's a good idea to check if the magnum is zero, because that means the local system platform doesn't support it.
This commit is contained in:
parent
ee7e296339
commit
d26d7ae0e4
1028 changed files with 6576 additions and 172777 deletions
1
third_party/python/Modules/_sqlite/cache.c
vendored
1
third_party/python/Modules/_sqlite/cache.c
vendored
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* cache .c - a LRU cache
|
||||
*
|
||||
* Copyright (C) 2004-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
1
third_party/python/Modules/_sqlite/cache.h
vendored
1
third_party/python/Modules/_sqlite/cache.h
vendored
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* cache.h - definitions for the LRU cache
|
||||
*
|
||||
* Copyright (C) 2004-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* connection.c - the connection type
|
||||
*
|
||||
* Copyright (C) 2004-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* connection.h - definitions for the connection type
|
||||
*
|
||||
* Copyright (C) 2004-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
1
third_party/python/Modules/_sqlite/cursor.c
vendored
1
third_party/python/Modules/_sqlite/cursor.c
vendored
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* cursor.c - the cursor type
|
||||
*
|
||||
* Copyright (C) 2004-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
1
third_party/python/Modules/_sqlite/cursor.h
vendored
1
third_party/python/Modules/_sqlite/cursor.h
vendored
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* cursor.h - definitions for the cursor type
|
||||
*
|
||||
* Copyright (C) 2004-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* microprotocols.c - minimalist and non-validating protocols implementation
|
||||
*
|
||||
* Copyright (C) 2003-2004 Federico Di Gregorio <fog@debian.org>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* microprotocols.c - definitions for minimalist and non-validating protocols
|
||||
*
|
||||
* Copyright (C) 2003-2004 Federico Di Gregorio <fog@debian.org>
|
||||
|
|
1
third_party/python/Modules/_sqlite/module.c
vendored
1
third_party/python/Modules/_sqlite/module.c
vendored
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* module.c - the module itself
|
||||
*
|
||||
* Copyright (C) 2004-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
1
third_party/python/Modules/_sqlite/module.h
vendored
1
third_party/python/Modules/_sqlite/module.h
vendored
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* module.h - definitions for the module
|
||||
*
|
||||
* Copyright (C) 2004-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* prepare_protocol.c - the protocol for preparing values for SQLite
|
||||
*
|
||||
* Copyright (C) 2005-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* prepare_protocol.h - the protocol for preparing values for SQLite
|
||||
*
|
||||
* Copyright (C) 2005-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
1
third_party/python/Modules/_sqlite/row.c
vendored
1
third_party/python/Modules/_sqlite/row.c
vendored
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* row.c - an enhanced tuple for database rows
|
||||
*
|
||||
* Copyright (C) 2005-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
1
third_party/python/Modules/_sqlite/row.h
vendored
1
third_party/python/Modules/_sqlite/row.h
vendored
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* row.h - an enhanced tuple for database rows
|
||||
*
|
||||
* Copyright (C) 2005-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* statement.c - the statement type
|
||||
*
|
||||
* Copyright (C) 2005-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* statement.h - definitions for the statement type
|
||||
*
|
||||
* Copyright (C) 2005-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
1
third_party/python/Modules/_sqlite/util.c
vendored
1
third_party/python/Modules/_sqlite/util.c
vendored
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* util.c - various utility functions
|
||||
*
|
||||
* Copyright (C) 2005-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
1
third_party/python/Modules/_sqlite/util.h
vendored
1
third_party/python/Modules/_sqlite/util.h
vendored
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/* util.h - various utility functions
|
||||
*
|
||||
* Copyright (C) 2005-2010 Gerhard Häring <gh@ghaering.de>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue