Mercurial > cpython-lru_cache-weakref
diff Python/thread.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 | fc718c177ee6 |
| children |
