diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-05-10 13:18:40 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-05-10 13:18:40 (GMT) |
commit | b2eeced5ea832e48b742c9650eb88709a2e41ad8 (patch) | |
tree | 6f08e9d06e580588d7b7c3174477c8f8d43bfd46 /Doc/faq | |
parent | fd7aaab184ad50992e7930a403d5750fe84a644f (diff) | |
parent | cc6c673a69bdc70ba1ff1052be9c43185567b4d2 (diff) | |
download | cpython-b2eeced5ea832e48b742c9650eb88709a2e41ad8.zip cpython-b2eeced5ea832e48b742c9650eb88709a2e41ad8.tar.gz cpython-b2eeced5ea832e48b742c9650eb88709a2e41ad8.tar.bz2 |
Removed outdated statement about pickle's and marshal's relative performance.
Diffstat (limited to 'Doc/faq')
-rw-r--r-- | Doc/faq/library.rst | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Doc/faq/library.rst b/Doc/faq/library.rst index a079cb1..f6306d5 100644 --- a/Doc/faq/library.rst +++ b/Doc/faq/library.rst @@ -805,14 +805,6 @@ still can't store things like open files, sockets or windows), and the :mod:`shelve` library module uses pickle and (g)dbm to create persistent mappings containing arbitrary Python objects. -A more awkward way of doing things is to use pickle's little sister, marshal. -The :mod:`marshal` module provides very fast ways to store noncircular basic -Python types to files and strings, and back again. Although marshal does not do -fancy things like store instances or handle shared references properly, it does -run extremely fast. For example loading a half megabyte of data may take less -than a third of a second. This often beats doing something more complex and -general such as using gdbm with pickle/shelve. - Mathematics and Numerics ======================== |