Mercurial > cpython-lru_cache-weakref
comparison Python/thread_os2.h @ 5829:f1127d6fcd74 legacy-trunk
Huge speedup by inlining some common integer operations:
int+int, int-int, int <compareop> int, and list[int].
(Unfortunately, int*int is way too much code to inline.)
Also corrected a NULL that should have been a zero.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 17 Jul 1997 23:12:42 +0000 |
| parents | 65d2d8e67da3 |
| children | 5e31d381fa47 |
comparison
equal
deleted
inserted
replaced
| 5828:9fa2bd8a2b78 | 5829:f1127d6fcd74 |
|---|
