Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 17997:27f2422ea335 legacy-trunk
Change cascaded if stmts to switch stmt in vgetargs1().
In the default branch, keep three ifs that are used if level == 0, the
most common case. Note that first if here is a slight optimization
for the 'O' format.
Second part of SF patch 426072.
| author | Jeremy Hylton <jeremy@alum.mit.edu> |
|---|---|
| date | Tue, 29 May 2001 17:46:19 +0000 |
| parents | beb9d2b02846 |
| children | ee24bd0cad29 4cb34314bd97 |
