mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Implemented list batching in cPickle.
This commit is contained in:
parent
eea4718e81
commit
1092d64002
3 changed files with 122 additions and 48 deletions
|
@ -612,6 +612,7 @@ class Pickler:
|
|||
|
||||
dispatch[ListType] = save_list
|
||||
|
||||
# Keep in synch with cPickle's BATCHSIZE.
|
||||
_BATCHSIZE = 1000
|
||||
|
||||
def _batch_appends(self, items):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue