Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Checkins

cpython (3.2): Removed outdated statement about pickle's and marshal's relative performance.

 

 

Python checkins RSS feed   Index | Next | Previous | View Threaded


python-checkins at python

May 10, 2012, 6:21 AM

Post #1 of 1 (53 views)
Permalink
cpython (3.2): Removed outdated statement about pickle's and marshal's relative performance.

http://hg.python.org/cpython/rev/b058f22b5723
changeset: 76858:b058f22b5723
branch: 3.2
parent: 76856:62659067f5b6
user: Antoine Pitrou <solipsis [at] pitrou>
date: Thu May 10 15:18:20 2012 +0200
summary:
Removed outdated statement about pickle's and marshal's relative performance.

files:
Doc/faq/library.rst | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)


diff --git a/Doc/faq/library.rst b/Doc/faq/library.rst
--- a/Doc/faq/library.rst
+++ b/Doc/faq/library.rst
@@ -805,14 +805,6 @@
: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
========================

--
Repository URL: http://hg.python.org/cpython

Python checkins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.