Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 31649:243642bbd03f legacy-trunk
LIST_APPEND is predicably followed by JUMP_ABSOLUTE.
Reduces loop overhead by an additional 10%.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Fri, 12 Mar 2004 16:33:17 +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; }
