Mercurial > cpython-lru_cache-weakref
view Python/dynload_stub.c @ 45837:c5241069fffd legacy-trunk
Speed up test_dict by about 10x by only checking selected dict literal sizes,
instead of every integer from 0 to 400. Exhaustive testing wastes time without
providing enough more assurance that the code is correct.
| author | Jeffrey Yasskin <jyasskin@gmail.com> |
|---|---|
| date | Tue, 18 Mar 2008 05:12:41 +0000 |
| parents | 6f6f965c5e2d |
| children | 257cbd2fac38 |
line wrap: on
line source
/* This module provides the necessary stubs for when dynamic loading is not present. */ #include "Python.h" #include "importdl.h" const struct filedescr _PyImport_DynLoadFiletab[] = { {0, 0} };
