Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 38425:ca657e0bd09c legacy-trunk
needforspeed: backed out the Py_LOCAL-isation of ceval; the massive in-
lining killed performance on certain Intel boxes, and the "aggressive"
macro itself gives most of the benefits on others.
| author | Fredrik Lundh <fredrik@pythonware.com> |
|---|---|
| date | Sat, 27 May 2006 10:39:48 +0000 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
