Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #88926

Re: Pickle based workflow - looking for advice

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <robin@reportlab.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.128
X-Spam-Level *
X-Spam-Evidence '*H*': 0.75; '*S*': 0.01; 'python': 0.11; 'stored': 0.12; 'integers,': 0.16; 'objects.': 0.16; 'storing': 0.16; 'subject:based': 0.16; 'header:User-Agent:1': 0.23; 'header:In- Reply-To:1': 0.27; 'pickle': 0.31; 'lists': 0.32; 'probably': 0.32; 'received:209.85.212': 0.32; 'received:209.85': 0.35; 'objects': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'method': 0.36; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'simple': 0.61; 'information': 0.63; 'worth': 0.66; 'believe': 0.68; 'received:192.168.0.3': 0.84; 'subject:looking': 0.91
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=/MqEtgAfqLTDFNLXIuRt5UtAcJYWK1zeiux6fHeGwb4=; b=MEdD817RqBLD9E5O+NgJGeoTaFvxECFdydREQsiHGc/afad+EeytVHReL8iio7yNKc csgCEQ+olFvEhTC4w0J6f3PAbw5EWxeCgmPIPPp6c9lDiCU3ygq32TA/Q9KNtyVxhGAz aLNt8uw2seqFFnb5QC4nIUlKqYsEG3iwCtsv8rt+eTHauLEtMKml+T6aFiTG6T+9eXeY i0laEEgnRZ6kpY8Rawa9++NBeRrfZE42UmonEGzamLuEw5un3jLT0gLvooJcbl8xqPnB kBWsx1oKyJT3lmxutCJF4CBHeZ9WEgIA3B0aOpSLIBbRRnqAXdTd0ZUZirN4qNM2xJAa 0rfg==
X-Gm-Message-State ALoCoQlTj5dscHnr3nHu6EBLY6JHWiaOWnFndHZ3XnLZ6tyfn6cb3i7Uftf4kAC8b2AWV76zVru7
X-Received by 10.194.62.132 with SMTP id y4mr29338442wjr.91.1428940438075; Mon, 13 Apr 2015 08:53:58 -0700 (PDT)
Date Mon, 13 Apr 2015 16:53:59 +0100
From Robin Becker <robin@reportlab.com>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Pickle based workflow - looking for advice
References <mgglho$tpc$1@speranza.aioe.org>
In-Reply-To <mgglho$tpc$1@speranza.aioe.org>
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.275.1428940445.12925.python-list@python.org> (permalink)
Lines 7
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1428940445 news.xs4all.nl 2933 [2001:888:2000:d::a6]:53250
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:88926

Show key headers only | View raw


for what it's worth I believe that marshal is a faster method for storing simple 
python objects. So if your information can be stored using simple python things 
eg strings, floats, integers, lists and dicts then storage using marshal is 
faster than pickle/cpickle. If you want to persist the objects for years then 
the pickle protocol is probably better as it is not python version dependant.
-- 
Robin Becker

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Pickle based workflow - looking for advice Fabien <fabien.maussion@gmail.com> - 2015-04-13 16:58 +0200
  Re: Pickle based workflow - looking for advice Devin Jeanpierre <jeanpierreda@gmail.com> - 2015-04-13 11:45 -0400
    Re: Pickle based workflow - looking for advice Fabien <fabien.maussion@gmail.com> - 2015-04-13 19:39 +0200
  Re: Pickle based workflow - looking for advice Robin Becker <robin@reportlab.com> - 2015-04-13 16:53 +0100
  Re: Pickle based workflow - looking for advice Dave Angel <davea@davea.name> - 2015-04-13 12:25 -0400
    Re: Pickle based workflow - looking for advice Fabien <fabien.maussion@gmail.com> - 2015-04-13 19:30 +0200
  Re: Pickle based workflow - looking for advice Peter Otten <__peter__@web.de> - 2015-04-13 19:08 +0200
    Re: Pickle based workflow - looking for advice Fabien <fabien.maussion@gmail.com> - 2015-04-13 19:35 +0200
      Re: Pickle based workflow - looking for advice Chris Angelico <rosuav@gmail.com> - 2015-04-14 14:05 +1000
        Re: Pickle based workflow - looking for advice Fabien <fabien.maussion@gmail.com> - 2015-04-14 09:58 +0200
          Re: Pickle based workflow - looking for advice Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-04-14 23:08 +1000
            Re: Pickle based workflow - looking for advice Chris Angelico <rosuav@gmail.com> - 2015-04-14 23:45 +1000
              Re: Pickle based workflow - looking for advice Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-04-15 00:14 +1000
                Re: Pickle based workflow - looking for advice Chris Angelico <rosuav@gmail.com> - 2015-04-15 00:30 +1000

csiph-web