Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b2eeced

Browse files
committed
Removed outdated statement about pickle's and marshal's relative performance.
2 parents fd7aaab + cc6c673 commit b2eeced

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

Doc/faq/library.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -805,14 +805,6 @@ still can't store things like open files, sockets or windows), and the
805805
:mod:`shelve` library module uses pickle and (g)dbm to create persistent
806806
mappings containing arbitrary Python objects.
807807

808-
A more awkward way of doing things is to use pickle's little sister, marshal.
809-
The :mod:`marshal` module provides very fast ways to store noncircular basic
810-
Python types to files and strings, and back again. Although marshal does not do
811-
fancy things like store instances or handle shared references properly, it does
812-
run extremely fast. For example loading a half megabyte of data may take less
813-
than a third of a second. This often beats doing something more complex and
814-
general such as using gdbm with pickle/shelve.
815-
816808

817809
Mathematics and Numerics
818810
========================

0 commit comments

Comments
 (0)