]> granicus.if.org Git - python/commitdiff
Removed outdated statement about pickle's and marshal's relative performance.
authorAntoine Pitrou <solipsis@pitrou.net>
Thu, 10 May 2012 13:18:20 +0000 (15:18 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Thu, 10 May 2012 13:18:20 +0000 (15:18 +0200)
Doc/faq/library.rst

index a079cb160c67eca9ee1503617ab86d97d42924e4..f6306d5471e6e326d84b1e3a9732d6842cea2ed9 100644 (file)
@@ -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
 ========================