summaryrefslogtreecommitdiffstats
path: root/Lib/pickle.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-02-11 21:06:20 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-02-11 21:06:20 (GMT)
commit1092d640021ae8c572e77d8f377f531fc5291aea (patch)
tree58fed91663b21948b640485d04d955bc1ddc704d /Lib/pickle.py
parenteea4718e814b8ec054557aa87d6c122305bf6f0b (diff)
downloadcpython-1092d640021ae8c572e77d8f377f531fc5291aea.zip
cpython-1092d640021ae8c572e77d8f377f531fc5291aea.tar.gz
cpython-1092d640021ae8c572e77d8f377f531fc5291aea.tar.bz2
Implemented list batching in cPickle.
Diffstat (limited to 'Lib/pickle.py')
-rw-r--r--Lib/pickle.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py
index 8431c41..0173c1f 100644
--- a/Lib/pickle.py
+++ b/Lib/pickle.py
@@ -612,6 +612,7 @@ class Pickler:
dispatch[ListType] = save_list
+ # Keep in synch with cPickle's BATCHSIZE.
_BATCHSIZE = 1000
def _batch_appends(self, items):