Mercurial > cpython-lru_cache-weakref
diff Python/getopt.c @ 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 | e8996884e8e1 |
| children | f39bee3ff22b |
