Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 87631:b44dbf07732e
Remove explicit empty tuple reuse in cpickle.
PyTuple_New(0) always returns the same empty tuple from its free list anyway,
so we are not saving much here. Plus, the code where this was used is on
uncommon run paths.
| author | Alexandre Vassalotti <alexandre@peadrop.com> |
|---|---|
| date | Thu, 28 Nov 2013 15:17:29 -0800 |
| parents | 6e2089dbc5ad |
| children | cc8953ea3c7e |
